![]() |
MCUXpresso SDK API Reference Manual
Rev 2.16.000
NXP Semiconductors
|
Data Structures | |
| struct | _serial_spi_master_config |
| spi master user configure structure. More... | |
| struct | _serial_spi_slave_config |
| spi slave user configure structure. More... | |
| struct | _serial_spi_transfer |
| 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. | |
Typedefs | |
| typedef enum _serial_spi_clock_polarity | serial_spi_clock_polarity_t |
| spi clock polarity configuration. More... | |
| typedef enum _serial_spi_clock_phase | serial_spi_clock_phase_t |
| spi clock phase configuration. More... | |
| typedef enum _serial_spi_shift_direction | serial_spi_shift_direction_t |
| spi data shifter direction options. More... | |
| typedef struct _serial_spi_master_config | serial_spi_master_config_t |
| spi master user configure structure. More... | |
| typedef struct _serial_spi_slave_config | serial_spi_slave_config_t |
| spi slave user configure structure. More... | |
| typedef struct _serial_spi_transfer | serial_spi_transfer_t |
| spi transfer structure | |
|
typedef enum _serial_port_uart_parity_mode | serial_port_uart_parity_mode_t |
| serial port uart parity mode | |
|
typedef enum _serial_port_uart_stop_bit_count | serial_port_uart_stop_bit_count_t |
| serial port uart stop bit count | |
Enumerations | |
| enum | _serial_spi_clock_polarity { kSerial_SpiClockPolarityActiveHigh = 0x0U, kSerial_SpiClockPolarityActiveLow } |
| spi clock polarity configuration. More... | |
| enum | _serial_spi_clock_phase { kSerial_SpiClockPhaseFirstEdge = 0x0U, kSerial_SpiClockPhaseSecondEdge } |
| spi clock phase configuration. More... | |
| enum | _serial_spi_shift_direction { kSerial_SpiMsbFirst = 0x0U, kSerial_SpiLsbFirst } |
| spi data shifter direction options. More... | |
| enum | _serial_port_uart_parity_mode { kSerialManager_UartParityDisabled = 0x0U, kSerialManager_UartParityEven = 0x2U, kSerialManager_UartParityOdd = 0x3U } |
| serial port uart parity mode More... | |
| enum | _serial_port_uart_stop_bit_count { kSerialManager_UartOneStopBit = 0U, kSerialManager_UartTwoStopBit = 1U } |
| serial port uart stop bit count More... | |
| struct _serial_spi_master_config |
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 |
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 |
| typedef enum _serial_spi_clock_polarity serial_spi_clock_polarity_t |
| typedef enum _serial_spi_clock_phase serial_spi_clock_phase_t |
| typedef enum _serial_spi_shift_direction serial_spi_shift_direction_t |
| typedef struct _serial_spi_master_config serial_spi_master_config_t |
| typedef struct _serial_spi_slave_config serial_spi_slave_config_t |