Module lpc845_pac::spi0::cfg [−][src]
Expand description
SPI Configuration register
Structs
SPI Configuration register
Field CPHA
reader - Clock Phase select.
Field CPHA
writer - Clock Phase select.
Field CPOL
reader - Clock Polarity select.
Field CPOL
writer - Clock Polarity select.
Field ENABLE
reader - SPI enable.
Field ENABLE
writer - SPI enable.
Field LOOP
reader - Loopback mode enable. Loopback mode applies only to Master mode, and connects transmit and receive data connected together to allow simple software testing.
Field LOOP
writer - Loopback mode enable. Loopback mode applies only to Master mode, and connects transmit and receive data connected together to allow simple software testing.
Field LSBF
reader - LSB First mode enable.
Field LSBF
writer - LSB First mode enable.
Field MASTER
reader - Master mode select.
Field MASTER
writer - Master mode select.
Register CFG
reader
Field SPOL0
reader - SSEL0 Polarity select.
Field SPOL0
writer - SSEL0 Polarity select.
Field SPOL1
reader - SSEL1 Polarity select.
Field SPOL1
writer - SSEL1 Polarity select.
Field SPOL2
reader - SSEL2 Polarity select.
Field SPOL2
writer - SSEL2 Polarity select.
Field SPOL3
reader - SSEL3 Polarity select.
Field SPOL3
writer - SSEL3 Polarity select.
Register CFG
writer
Enums
Clock Phase select.
Clock Polarity select.
SPI enable.
Loopback mode enable. Loopback mode applies only to Master mode, and connects transmit and receive data connected together to allow simple software testing.
LSB First mode enable.
Master mode select.
SSEL0 Polarity select.
SSEL1 Polarity select.
SSEL2 Polarity select.
SSEL3 Polarity select.