![]() |
S32 SDK
|
LPSPI Transmit Command Register configuration structure. More...
#include <lpspi_hal.h>
Data Fields | |
uint32_t | frameSize |
lpspi_transfer_width_t | width |
bool | txMask |
bool | rxMask |
bool | contCmd |
bool | contTransfer |
bool | byteSwap |
bool | lsbFirst |
lpspi_which_pcs_t | whichPcs |
uint32_t | preDiv |
lpspi_clock_phase_t | clkPhase |
lpspi_sck_polarity_t | clkPolarity |
LPSPI Transmit Command Register configuration structure.
This structure contains the Transmit Command Register (TCR) settings. Any writes to the TCR will cause the entire TCR contents to be pushed to the TX FIFO. Therefore any updates to the TCR should include updates to all of the register bit fields to form a 32-bit write to the TCR. Implements : lpspi_tx_cmd_config_t_Class
Definition at line 215 of file lpspi_hal.h.
bool byteSwap |
Option to invoke the byte swap option in the FIFOs.
Definition at line 223 of file lpspi_hal.h.
lpspi_clock_phase_t clkPhase |
Selects which phase of clock to capture data.
Definition at line 227 of file lpspi_hal.h.
lpspi_sck_polarity_t clkPolarity |
Selects clock polarity.
Definition at line 228 of file lpspi_hal.h.
bool contCmd |
Master option to change cmd word within cont transfer.
Definition at line 221 of file lpspi_hal.h.
bool contTransfer |
Master option for continuous transfer.
Definition at line 222 of file lpspi_hal.h.
uint32_t frameSize |
Number of bits/frame, minimum is 8-bits.
Definition at line 217 of file lpspi_hal.h.
bool lsbFirst |
Option to transmit LSB first.
Definition at line 224 of file lpspi_hal.h.
uint32_t preDiv |
Selects the baud rate prescaler divider TCR bit setting.
Definition at line 226 of file lpspi_hal.h.
bool rxMask |
Option to mask the receive data (won't store in FIFO).
Definition at line 220 of file lpspi_hal.h.
bool txMask |
Option to mask the transmit data (won't load to FIFO).
Definition at line 219 of file lpspi_hal.h.
lpspi_which_pcs_t whichPcs |
Selects which PCS to use.
Definition at line 225 of file lpspi_hal.h.
lpspi_transfer_width_t width |
Transfer width, single, 2-bit, or 4-bit transfer.
Definition at line 218 of file lpspi_hal.h.