| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
IP_SPI_001_T Struct Reference
IP: SPI register block and driver

## Detailed Description

SPI register block structure.

Definition at line 50 of file spi_001.h.

`#include "spi_001.h"`

## Data Fields
__IO uint32_t | CR
__I uint32_t | SR
__IO uint32_t | DR
__IO uint32_t | CCR
__I uint32_t | RESERVED0 [3]
__IO uint32_t | INT

## Field Documentation

__IO uint32_t CCR

SPI Clock Counter Register. This register controls the frequency of a master's SCK0.

Definition at line 54 of file spi_001.h.

__IO uint32_t CR

< SPI Structure SPI Control Register. This register controls the operation of the SPI.

Definition at line 51 of file spi_001.h.

__IO uint32_t DR

SPI Data Register. This bi-directional register provides the transmit and receive data for the SPI. Transmit data is provided to the SPI0 by writing to this register. Data received by the SPI0 can be read from this register.

Definition at line 53 of file spi_001.h.

__IO uint32_t INT

SPI Interrupt Flag. This register contains the interrupt flag for the SPI interface.

Definition at line 56 of file spi_001.h.

__I uint32_t RESERVED0[3]

Definition at line 55 of file spi_001.h.

__I uint32_t SR

SPI Status Register. This register shows the status of the SPI.

Definition at line 52 of file spi_001.h.

The documentation for this struct was generated from the following file:

- C:/nxp/v1.03/lpcopen_v1.03/lpcopen/software/lpc_core/lpc_ip/spi_001.h