Module spim

Module spim 

Source
Expand description

HAL interface to the SPIM peripheral.

See product specification, chapter 31.

Structs§

Mode
SPI mode.
Pins
GPIO pins for SPIM interface
Spim
Interface to a SPIM instance.

Enums§

Error
Frequency
SPI master data rate
Phase
Clock phase.
Polarity
Clock polarity.

Constants§

MODE_0
Helper for CPOL = 0, CPHA = 0.
MODE_1
Helper for CPOL = 0, CPHA = 1.
MODE_2
Helper for CPOL = 1, CPHA = 0.
MODE_3
Helper for CPOL = 1, CPHA = 1.

Traits§

Instance
Implemented by all SPIM instances.