LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
IP_SPI_001_Type Struct Reference

SPI register block structure. More...

#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
 

Detailed Description

SPI register block structure.

Definition at line 50 of file spi_001.h.

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: