RTEMS 6.1-rc6
|
LPSPI master configuration structure. More...
#include <fsl_lpspi.h>
Data Fields | |
uint32_t | baudRate |
uint32_t | bitsPerFrame |
lpspi_clock_polarity_t | cpol |
lpspi_clock_phase_t | cpha |
lpspi_shift_direction_t | direction |
uint32_t | pcsToSckDelayInNanoSec |
uint32_t | lastSckToPcsDelayInNanoSec |
uint32_t | betweenTransferDelayInNanoSec |
lpspi_which_pcs_t | whichPcs |
lpspi_pcs_polarity_config_t | pcsActiveHighOrLow |
lpspi_pin_config_t | pinCfg |
lpspi_data_out_config_t | dataOutConfig |
bool | enableInputDelay |
LPSPI master configuration structure.
uint32_t _lpspi_master_config::baudRate |
Baud Rate for LPSPI.
uint32_t _lpspi_master_config::betweenTransferDelayInNanoSec |
After the SCK delay time with nanoseconds, setting to 0 sets the minimum delay. It sets the boundary value if out of range.
uint32_t _lpspi_master_config::bitsPerFrame |
Bits per frame, minimum 8, maximum 4096.
lpspi_clock_phase_t _lpspi_master_config::cpha |
Clock phase.
lpspi_clock_polarity_t _lpspi_master_config::cpol |
Clock polarity.
lpspi_data_out_config_t _lpspi_master_config::dataOutConfig |
Configures if the output data is tristated between accesses (LPSPI_PCS is negated).
lpspi_shift_direction_t _lpspi_master_config::direction |
MSB or LSB data shift direction.
bool _lpspi_master_config::enableInputDelay |
Enable master to sample the input data on a delayed SCK. This can help improve slave setup time. Refer to device data sheet for specific time length.
uint32_t _lpspi_master_config::lastSckToPcsDelayInNanoSec |
Last SCK to PCS delay time in nanoseconds, setting to 0 sets the minimum delay. It sets the boundary value if out of range.
lpspi_pcs_polarity_config_t _lpspi_master_config::pcsActiveHighOrLow |
Desired PCS active high or low
uint32_t _lpspi_master_config::pcsToSckDelayInNanoSec |
PCS to SCK delay time in nanoseconds, setting to 0 sets the minimum delay. It sets the boundary value if out of range.
lpspi_pin_config_t _lpspi_master_config::pinCfg |
Configures which pins are used for input and output data during single bit transfers.
lpspi_which_pcs_t _lpspi_master_config::whichPcs |
Desired Peripheral Chip Select (PCS).