Module lpc55_pac::spi0::cfg[][src]

SPI Configuration register

Structs

CFG_SPEC

SPI Configuration register

CPHA_R

Field CPHA reader - Clock Phase select.

CPHA_W

Field CPHA writer - Clock Phase select.

CPOL_R

Field CPOL reader - Clock Polarity select.

CPOL_W

Field CPOL writer - Clock Polarity select.

ENABLE_R

Field ENABLE reader - SPI enable.

ENABLE_W

Field ENABLE writer - SPI enable.

LOOP_R

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.

LOOP_W

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.

LSBF_R

Field LSBF reader - LSB First mode enable.

LSBF_W

Field LSBF writer - LSB First mode enable.

MASTER_R

Field MASTER reader - Master mode select.

MASTER_W

Field MASTER writer - Master mode select.

R

Register CFG reader

SPOL0_R

Field SPOL0 reader - SSEL0 Polarity select.

SPOL0_W

Field SPOL0 writer - SSEL0 Polarity select.

SPOL1_R

Field SPOL1 reader - SSEL1 Polarity select.

SPOL1_W

Field SPOL1 writer - SSEL1 Polarity select.

SPOL2_R

Field SPOL2 reader - SSEL2 Polarity select.

SPOL2_W

Field SPOL2 writer - SSEL2 Polarity select.

SPOL3_R

Field SPOL3 reader - SSEL3 Polarity select.

SPOL3_W

Field SPOL3 writer - SSEL3 Polarity select.

W

Register CFG writer

Enums

CPHA_A

Clock Phase select.

CPOL_A

Clock Polarity select.

ENABLE_A

SPI enable.

LOOP_A

Loopback mode enable. Loopback mode applies only to Master mode, and connects transmit and receive data connected together to allow simple software testing.

LSBF_A

LSB First mode enable.

MASTER_A

Master mode select.

SPOL0_A

SSEL0 Polarity select.

SPOL1_A

SSEL1 Polarity select.

SPOL2_A

SSEL2 Polarity select.

SPOL3_A

SSEL3 Polarity select.