rusEFI
The most advanced open source ECU
|
LPSPI master configuration structure. More...
#include <fsl_lpspi.h>
LPSPI master configuration structure.
Definition at line 255 of file fsl_lpspi.h.
uint32_t _lpspi_master_config::baudRate |
Baud Rate for LPSPI.
Definition at line 257 of file fsl_lpspi.h.
Referenced by LPSPI_MasterGetDefaultConfig(), LPSPI_MasterInit(), and spi_lld_start().
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.
Definition at line 268 of file fsl_lpspi.h.
Referenced by LPSPI_MasterGetDefaultConfig(), LPSPI_MasterInit(), and spi_lld_start().
uint32_t _lpspi_master_config::bitsPerFrame |
Bits per frame, minimum 8, maximum 4096.
Definition at line 258 of file fsl_lpspi.h.
Referenced by LPSPI_MasterGetDefaultConfig(), LPSPI_MasterInit(), and spi_lld_start().
lpspi_clock_phase_t _lpspi_master_config::cpha |
Clock phase.
Definition at line 260 of file fsl_lpspi.h.
Referenced by LPSPI_MasterGetDefaultConfig(), LPSPI_MasterInit(), and spi_lld_start().
lpspi_clock_polarity_t _lpspi_master_config::cpol |
Clock polarity.
Definition at line 259 of file fsl_lpspi.h.
Referenced by LPSPI_MasterGetDefaultConfig(), LPSPI_MasterInit(), and spi_lld_start().
lpspi_data_out_config_t _lpspi_master_config::dataOutConfig |
Configures if the output data is tristated between accesses (LPSPI_PCS is negated).
Definition at line 277 of file fsl_lpspi.h.
Referenced by LPSPI_MasterGetDefaultConfig(), and LPSPI_MasterInit().
lpspi_shift_direction_t _lpspi_master_config::direction |
MSB or LSB data shift direction.
Definition at line 261 of file fsl_lpspi.h.
Referenced by LPSPI_MasterGetDefaultConfig(), LPSPI_MasterInit(), and spi_lld_start().
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.
Definition at line 265 of file fsl_lpspi.h.
Referenced by LPSPI_MasterGetDefaultConfig(), LPSPI_MasterInit(), and spi_lld_start().
lpspi_pcs_polarity_config_t _lpspi_master_config::pcsActiveHighOrLow |
Desired PCS active high or low
Definition at line 272 of file fsl_lpspi.h.
Referenced by LPSPI_MasterGetDefaultConfig(), and LPSPI_MasterInit().
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.
Definition at line 263 of file fsl_lpspi.h.
Referenced by LPSPI_MasterGetDefaultConfig(), LPSPI_MasterInit(), and spi_lld_start().
lpspi_pin_config_t _lpspi_master_config::pinCfg |
Configures which pins are used for input and output data during single bit transfers.
Definition at line 274 of file fsl_lpspi.h.
Referenced by LPSPI_MasterGetDefaultConfig(), and LPSPI_MasterInit().
lpspi_which_pcs_t _lpspi_master_config::whichPcs |
Desired Peripheral Chip Select (PCS).
Definition at line 271 of file fsl_lpspi.h.
Referenced by LPSPI_MasterGetDefaultConfig(), LPSPI_MasterInit(), and spi_lld_start().