openMMC
Open Source Modular MMC for AMCs
|
SPI (SPI) More...
#include <LPC176x5x.h>
Data Fields | |
__IOM uint32_t | CR |
__IM uint32_t | SR |
__IOM uint32_t | DR |
__IOM uint32_t | CCR |
__IM uint32_t | RESERVED [3] |
__IOM uint32_t | INT |
SPI (SPI)
__IOM uint32_t LPC_SPI_Type::CCR |
(@ 0x0000000C) SPI Clock Counter Register. This register controls the frequency of a master's SCK0.
__IOM uint32_t LPC_SPI_Type::CR |
< (@ 0x40020000) SPI Structure
(@ 0x00000000) SPI Control Register. This register controls the operation of the SPI.
__IOM uint32_t LPC_SPI_Type::DR |
(@ 0x00000008) 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.
__IOM uint32_t LPC_SPI_Type::INT |
(@ 0x0000001C) SPI Interrupt Flag. This register contains the interrupt flag for the SPI interface.
__IM uint32_t LPC_SPI_Type::RESERVED[3] |
__IM uint32_t LPC_SPI_Type::SR |
(@ 0x00000004) SPI Status Register. This register shows the status of the SPI.