RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Data Fields
_lpspi_master_config Struct Reference

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
 

Detailed Description

LPSPI master configuration structure.

Field Documentation

◆ baudRate

uint32_t _lpspi_master_config::baudRate

Baud Rate for LPSPI.

◆ betweenTransferDelayInNanoSec

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.

◆ bitsPerFrame

uint32_t _lpspi_master_config::bitsPerFrame

Bits per frame, minimum 8, maximum 4096.

◆ cpha

lpspi_clock_phase_t _lpspi_master_config::cpha

Clock phase.

◆ cpol

lpspi_clock_polarity_t _lpspi_master_config::cpol

Clock polarity.

◆ dataOutConfig

lpspi_data_out_config_t _lpspi_master_config::dataOutConfig

Configures if the output data is tristated between accesses (LPSPI_PCS is negated).

◆ direction

lpspi_shift_direction_t _lpspi_master_config::direction

MSB or LSB data shift direction.

◆ enableInputDelay

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.

◆ lastSckToPcsDelayInNanoSec

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.

◆ pcsActiveHighOrLow

lpspi_pcs_polarity_config_t _lpspi_master_config::pcsActiveHighOrLow

Desired PCS active high or low

◆ pcsToSckDelayInNanoSec

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.

◆ pinCfg

lpspi_pin_config_t _lpspi_master_config::pinCfg

Configures which pins are used for input and output data during single bit transfers.

◆ whichPcs

lpspi_which_pcs_t _lpspi_master_config::whichPcs

Desired Peripheral Chip Select (PCS).


The documentation for this struct was generated from the following file: