MCUXpresso SDK API Reference Manual
Rev 2.12.1
NXP Semiconductors
|
Data Structures | |
struct | serial_spi_master_config_t |
spi master user configure structure. More... | |
struct | serial_spi_slave_config_t |
spi slave user configure structure. More... | |
struct | serial_spi_transfer_t |
spi transfer structure More... | |
Macros | |
#define | SERIAL_PORT_SPI_MASTER_HANDLE_SIZE (HAL_SPI_MASTER_HANDLE_SIZE) |
serial port uart handle size | |
#define | SERIAL_USE_CONFIGURE_STRUCTURE (0U) |
Enable or disable the confgure structure pointer. | |
#define | SERIAL_PORT_UART_DMA_RECEIVE_DATA_LENGTH (64U) |
serial port uart handle size | |
#define | SERIAL_USE_CONFIGURE_STRUCTURE (0U) |
Enable or disable the confgure structure pointer. | |
Enumerations | |
enum | serial_spi_clock_polarity_t { kSerial_SpiClockPolarityActiveHigh = 0x0U, kSerial_SpiClockPolarityActiveLow } |
spi clock polarity configuration. More... | |
enum | serial_spi_clock_phase_t { kSerial_SpiClockPhaseFirstEdge = 0x0U, kSerial_SpiClockPhaseSecondEdge } |
spi clock phase configuration. More... | |
enum | serial_spi_shift_direction_t { kSerial_SpiMsbFirst = 0x0U, kSerial_SpiLsbFirst } |
spi data shifter direction options. More... | |
enum | serial_port_uart_parity_mode_t { kSerialManager_UartParityDisabled = 0x0U, kSerialManager_UartParityEven = 0x2U, kSerialManager_UartParityOdd = 0x3U } |
serial port uart parity mode More... | |
enum | serial_port_uart_stop_bit_count_t { kSerialManager_UartOneStopBit = 0U, kSerialManager_UartTwoStopBit = 1U } |
serial port uart stop bit count More... | |
struct serial_spi_master_config_t |
Data Fields | |
uint32_t | srcClock_Hz |
Clock source for spi in Hz. | |
uint32_t | baudRate_Bps |
Baud Rate for spi in Hz. | |
serial_spi_clock_polarity_t | polarity |
Clock polarity. | |
serial_spi_clock_phase_t | phase |
Clock phase. | |
serial_spi_shift_direction_t | direction |
MSB or LSB. | |
uint8_t | instance |
Instance of the spi. | |
bool | enableMaster |
Enable spi at initialization time. | |
uint32_t | configFlags |
Transfer config Flags. | |
struct serial_spi_slave_config_t |
Data Fields | |
hal_spi_clock_polarity_t | polarity |
Clock polarity. | |
hal_spi_clock_phase_t | phase |
Clock phase. | |
hal_spi_shift_direction_t | direction |
MSB or LSB. | |
uint8_t | instance |
Instance of the spi. | |
bool | enableSlave |
Enable spi at initialization time. | |
uint32_t | configFlags |
Transfer config Flags. | |
struct serial_spi_transfer_t |