11#include "fsl_common.h"
25#define FSL_LPUART_DRIVER_VERSION (MAKE_VERSION(2, 7, 0))
29#ifndef UART_RETRY_TIMES
30#define UART_RETRY_TIMES 0U
68#if defined(FSL_FEATURE_LPUART_HAS_7BIT_DATA_SUPPORT) && FSL_FEATURE_LPUART_HAS_7BIT_DATA_SUPPORT
69 kLPUART_SevenDataBits = 0x1U,
80#if defined(FSL_FEATURE_LPUART_HAS_MODEM_SUPPORT) && FSL_FEATURE_LPUART_HAS_MODEM_SUPPORT
82typedef enum _lpuart_transmit_cts_source
84 kLPUART_CtsSourcePin = 0U,
85 kLPUART_CtsSourceMatchResult = 1U,
86} lpuart_transmit_cts_source_t;
89typedef enum _lpuart_transmit_cts_config
91 kLPUART_CtsSampleAtStart = 0U,
92 kLPUART_CtsSampleAtIdle = 1U,
93} lpuart_transmit_cts_config_t;
126#if defined(FSL_FEATURE_LPUART_HAS_LIN_BREAK_DETECT) && FSL_FEATURE_LPUART_HAS_LIN_BREAK_DETECT
127 kLPUART_LinBreakInterruptEnable = (LPUART_BAUD_LBKDIE_MASK >> 8U),
138#if defined(FSL_FEATURE_LPUART_HAS_ADDRESS_MATCHING) && FSL_FEATURE_LPUART_HAS_ADDRESS_MATCHING
139 kLPUART_Match1InterruptEnable = (LPUART_CTRL_MA1IE_MASK),
140 kLPUART_Match2InterruptEnable = (LPUART_CTRL_MA2IE_MASK),
142#if defined(FSL_FEATURE_LPUART_HAS_FIFO) && FSL_FEATURE_LPUART_HAS_FIFO
143 kLPUART_TxFifoOverflowInterruptEnable = (LPUART_FIFO_TXOFE_MASK),
144 kLPUART_RxFifoUnderflowInterruptEnable = (LPUART_FIFO_RXUFE_MASK),
152#if defined(FSL_FEATURE_LPUART_HAS_LIN_BREAK_DETECT) && FSL_FEATURE_LPUART_HAS_LIN_BREAK_DETECT
153 | kLPUART_LinBreakInterruptEnable
155#if defined(FSL_FEATURE_LPUART_HAS_ADDRESS_MATCHING) && FSL_FEATURE_LPUART_HAS_ADDRESS_MATCHING
156 | kLPUART_Match1InterruptEnable | kLPUART_Match2InterruptEnable
158#if defined(FSL_FEATURE_LPUART_HAS_FIFO) && FSL_FEATURE_LPUART_HAS_FIFO
159 | kLPUART_TxFifoOverflowInterruptEnable | kLPUART_RxFifoUnderflowInterruptEnable
172 (LPUART_STAT_TDRE_MASK),
174 (LPUART_STAT_TC_MASK),
183 (LPUART_STAT_FE_MASK),
185#if defined(FSL_FEATURE_LPUART_HAS_LIN_BREAK_DETECT) && FSL_FEATURE_LPUART_HAS_LIN_BREAK_DETECT
186 kLPUART_LinBreakFlag = (LPUART_STAT_LBKDIF_MASK),
192 (LPUART_STAT_RAF_MASK),
193#
if defined(FSL_FEATURE_LPUART_HAS_ADDRESS_MATCHING) && FSL_FEATURE_LPUART_HAS_ADDRESS_MATCHING
194 kLPUART_DataMatch1Flag =
195 LPUART_STAT_MA1F_MASK,
196 kLPUART_DataMatch2Flag =
197 LPUART_STAT_MA2F_MASK,
199#if defined(FSL_FEATURE_LPUART_HAS_FIFO) && FSL_FEATURE_LPUART_HAS_FIFO
200 kLPUART_TxFifoEmptyFlag =
201 (LPUART_FIFO_TXEMPT_MASK >> 16),
202 kLPUART_RxFifoEmptyFlag =
203 (LPUART_FIFO_RXEMPT_MASK >> 16),
204 kLPUART_TxFifoOverflowFlag =
205 (LPUART_FIFO_TXOF_MASK >> 16),
206 kLPUART_RxFifoUnderflowFlag =
207 (LPUART_FIFO_RXUF_MASK >> 16),
212#if defined(FSL_FEATURE_LPUART_HAS_ADDRESS_MATCHING) && FSL_FEATURE_LPUART_HAS_ADDRESS_MATCHING
213 | kLPUART_DataMatch1Flag | kLPUART_DataMatch2Flag
215#if defined(FSL_FEATURE_LPUART_HAS_FIFO) && FSL_FEATURE_LPUART_HAS_FIFO
216 | kLPUART_TxFifoOverflowFlag | kLPUART_RxFifoUnderflowFlag
218#if defined(FSL_FEATURE_LPUART_HAS_LIN_BREAK_DETECT) && FSL_FEATURE_LPUART_HAS_LIN_BREAK_DETECT
219 | kLPUART_LinBreakFlag
227#if defined(FSL_FEATURE_LPUART_HAS_ADDRESS_MATCHING) && FSL_FEATURE_LPUART_HAS_ADDRESS_MATCHING
228 | kLPUART_DataMatch1Flag | kLPUART_DataMatch2Flag
230#if defined(FSL_FEATURE_LPUART_HAS_FIFO) && FSL_FEATURE_LPUART_HAS_FIFO
231 | kLPUART_TxFifoOverflowFlag | kLPUART_RxFifoUnderflowFlag | kLPUART_TxFifoEmptyFlag | kLPUART_RxFifoEmptyFlag
233#if defined(FSL_FEATURE_LPUART_HAS_LIN_BREAK_DETECT) && FSL_FEATURE_LPUART_HAS_LIN_BREAK_DETECT
234 | kLPUART_LinBreakFlag
246#if defined(FSL_FEATURE_LPUART_HAS_STOP_BIT_CONFIG_SUPPORT) && FSL_FEATURE_LPUART_HAS_STOP_BIT_CONFIG_SUPPORT
249#if defined(FSL_FEATURE_LPUART_HAS_FIFO) && FSL_FEATURE_LPUART_HAS_FIFO
250 uint8_t txFifoWatermark;
251 uint8_t rxFifoWatermark;
253#if defined(FSL_FEATURE_LPUART_HAS_MODEM_SUPPORT) && FSL_FEATURE_LPUART_HAS_MODEM_SUPPORT
256 lpuart_transmit_cts_source_t txCtsSource;
257 lpuart_transmit_cts_config_t txCtsConfig;
308#if defined(FSL_FEATURE_LPUART_HAS_7BIT_DATA_SUPPORT) && FSL_FEATURE_LPUART_HAS_7BIT_DATA_SUPPORT
309 bool isSevenDataBits;
314typedef void (*lpuart_isr_t)(
LPUART_Type *base,
void *handle);
320extern void *s_lpuartHandle[];
323#if defined(FSL_FEATURE_LPUART_HAS_SEPARATE_RX_TX_IRQ) && FSL_FEATURE_LPUART_HAS_SEPARATE_RX_TX_IRQ
330extern lpuart_isr_t s_lpuartIsr[];
336#if defined(__cplusplus)
340#if defined(FSL_FEATURE_LPUART_HAS_GLOBAL) && FSL_FEATURE_LPUART_HAS_GLOBAL
355static inline void LPUART_SoftwareReset(
LPUART_Type *base)
357 base->GLOBAL |= LPUART_GLOBAL_RST_MASK;
358 base->GLOBAL &= ~LPUART_GLOBAL_RST_MASK;
477static inline void LPUART_SetMatchAddress(
LPUART_Type *base, uint16_t address1, uint16_t address2)
480 uint32_t address = ((uint32_t)address2 << 16U) | (uint32_t)address1 | 0x1000100UL;
481 base->MATCH = address;
491static inline void LPUART_EnableMatchAddress(
LPUART_Type *base,
bool match1,
bool match2)
496 base->BAUD |= (uint32_t)LPUART_BAUD_MAEN1_MASK;
500 base->BAUD &= ~(uint32_t)LPUART_BAUD_MAEN1_MASK;
505 base->BAUD |= (uint32_t)LPUART_BAUD_MAEN2_MASK;
509 base->BAUD &= ~(uint32_t)LPUART_BAUD_MAEN2_MASK;
513#if defined(FSL_FEATURE_LPUART_HAS_FIFO) && FSL_FEATURE_LPUART_HAS_FIFO
520static inline void LPUART_SetRxFifoWatermark(
LPUART_Type *base, uint8_t water)
522 assert((uint8_t)FSL_FEATURE_LPUART_FIFO_SIZEn(base) > water);
532static inline void LPUART_SetTxFifoWatermark(
LPUART_Type *base, uint8_t water)
534 assert((uint8_t)FSL_FEATURE_LPUART_FIFO_SIZEn(base) > water);
644#if defined(FSL_FEATURE_LPUART_HAS_DMA_ENABLE) && FSL_FEATURE_LPUART_HAS_DMA_ENABLE
657static inline uint32_t LPUART_GetDataRegisterAddress(
LPUART_Type *base)
659 return (uint32_t) & (base->DATA);
670static inline void LPUART_EnableTxDMA(
LPUART_Type *base,
bool enable)
674 base->BAUD |= LPUART_BAUD_TDMAE_MASK;
678 base->BAUD &= ~LPUART_BAUD_TDMAE_MASK;
690static inline void LPUART_EnableRxDMA(
LPUART_Type *base,
bool enable)
694 base->BAUD |= LPUART_BAUD_RDMAE_MASK;
698 base->BAUD &= ~LPUART_BAUD_RDMAE_MASK;
725static inline void LPUART_EnableTx(
LPUART_Type *base,
bool enable)
729 base->CTRL |= LPUART_CTRL_TE_MASK;
733 base->CTRL &= ~LPUART_CTRL_TE_MASK;
745static inline void LPUART_EnableRx(
LPUART_Type *base,
bool enable)
749 base->CTRL |= LPUART_CTRL_RE_MASK;
753 base->CTRL &= ~LPUART_CTRL_RE_MASK;
766static inline void LPUART_WriteByte(
LPUART_Type *base, uint8_t data)
780static inline uint8_t LPUART_ReadByte(
LPUART_Type *base)
782#if defined(FSL_FEATURE_LPUART_HAS_7BIT_DATA_SUPPORT) && FSL_FEATURE_LPUART_HAS_7BIT_DATA_SUPPORT
783 uint32_t ctrl = base->CTRL;
785 bool isSevenDataBits = (((ctrl & LPUART_CTRL_M7_MASK) != 0U) ||
786 (((ctrl & LPUART_CTRL_M7_MASK) == 0U) && ((ctrl & LPUART_CTRL_M_MASK) == 0U) &&
787 ((ctrl & LPUART_CTRL_PE_MASK) != 0U)));
791 result = (uint8_t)(base->DATA & 0x7FU);
795 result = (uint8_t)base->DATA;
800 return (uint8_t)(base->DATA);
804#if defined(FSL_FEATURE_LPUART_HAS_FIFO) && FSL_FEATURE_LPUART_HAS_FIFO
811static inline uint8_t LPUART_GetRxFifoCount(
LPUART_Type *base)
813 return (uint8_t)((base->WATER & LPUART_WATER_RXCOUNT_MASK) >> LPUART_WATER_RXCOUNT_SHIFT);
822static inline uint8_t LPUART_GetTxFifoCount(
LPUART_Type *base)
824 return (uint8_t)((base->WATER & LPUART_WATER_TXCOUNT_MASK) >> LPUART_WATER_TXCOUNT_SHIFT);
938 size_t ringBufferSize);
1013 size_t *receivedBytes);
1062#if defined(__cplusplus)
#define LPUART_WATER_RXWATER(x)
Definition: MIMXRT1052.h:32114
#define LPUART_WATER_TXWATER(x)
Definition: MIMXRT1052.h:32102
IRQn_Type
STM32H7XX Interrupt Number Definition, according to the selected device in Library_configuration_sect...
Definition: stm32h723xx.h:49
int32_t status_t
Type used for all status and error return values.
Definition: fsl_common.h:225
#define MAKE_STATUS(group, code)
Construct a status code value from a group and code number.
Definition: fsl_common.h:47
@ kStatusGroup_LPUART
Definition: fsl_common.h:96
size_t rxRingBufferSize
Definition: fsl_lpuart.h:298
bool isMsb
Definition: fsl_lpuart.h:245
void LPUART_TransferCreateHandle(LPUART_Type *base, lpuart_handle_t *handle, lpuart_transfer_callback_t callback, void *userData)
Initializes the LPUART handle.
Definition: fsl_lpuart.c:1154
uint8_t * rxRingBuffer
Definition: fsl_lpuart.h:297
_lpuart_idle_config
LPUART idle detected configuration. This structure defines the number of idle characters that must be...
Definition: fsl_lpuart.h:108
volatile uint8_t txState
Definition: fsl_lpuart.h:305
uint32_t LPUART_GetEnabledInterrupts(LPUART_Type *base)
Gets enabled LPUART interrupts.
Definition: fsl_lpuart.c:849
_lpuart_interrupt_enable
LPUART interrupt configuration structure, default settings all disabled.
Definition: fsl_lpuart.h:125
volatile uint16_t rxRingBufferHead
Definition: fsl_lpuart.h:299
_lpuart_parity_mode
LPUART parity mode.
Definition: fsl_lpuart.h:58
uint8_t *volatile rxData
Definition: fsl_lpuart.h:293
_lpuart_flags
LPUART status flags.
Definition: fsl_lpuart.h:170
size_t txDataSizeAll
Definition: fsl_lpuart.h:292
void LPUART_DisableInterrupts(LPUART_Type *base, uint32_t mask)
Disables LPUART interrupts according to a provided mask.
Definition: fsl_lpuart.c:801
status_t LPUART_WriteBlocking(LPUART_Type *base, const uint8_t *data, size_t length)
Writes to the transmitter register using a blocking method.
Definition: fsl_lpuart.c:970
status_t LPUART_Init(LPUART_Type *base, const lpuart_config_t *config, uint32_t srcClock_Hz)
Initializes an LPUART instance with the user configuration structure and the peripheral clock.
Definition: fsl_lpuart.c:278
volatile uint16_t rxRingBufferTail
Definition: fsl_lpuart.h:300
void LPUART_TransferHandleErrorIRQ(LPUART_Type *base, void *irqHandle)
LPUART Error IRQ handle function.
Definition: fsl_lpuart.c:1894
void LPUART_Deinit(LPUART_Type *base)
Deinitializes a LPUART instance.
Definition: fsl_lpuart.c:506
struct _lpuart_transfer lpuart_transfer_t
LPUART transfer structure.
enum _lpuart_idle_type_select lpuart_idle_type_select_t
LPUART idle flag type defines when the receiver starts counting.
lpuart_parity_mode_t parityMode
Definition: fsl_lpuart.h:243
lpuart_idle_type_select_t rxIdleType
Definition: fsl_lpuart.h:259
void LPUART_TransferAbortReceive(LPUART_Type *base, lpuart_handle_t *handle)
Aborts the interrupt-driven data receiving.
Definition: fsl_lpuart.c:1551
const uint8_t *volatile txData
Definition: fsl_lpuart.h:290
void LPUART_TransferStartRingBuffer(LPUART_Type *base, lpuart_handle_t *handle, uint8_t *ringBuffer, size_t ringBufferSize)
Sets up the RX ring buffer.
Definition: fsl_lpuart.c:1219
size_t LPUART_TransferGetRxRingBufferLength(LPUART_Type *base, lpuart_handle_t *handle)
Get the length of received data in RX ring buffer.
Definition: fsl_lpuart.c:171
void(* lpuart_transfer_callback_t)(LPUART_Type *base, lpuart_handle_t *handle, status_t status, void *userData)
LPUART transfer callback function.
Definition: fsl_lpuart.h:285
_lpuart_data_bits
LPUART data bits count.
Definition: fsl_lpuart.h:66
uint8_t * data
Definition: fsl_lpuart.h:274
uint8_t * rxData
Definition: fsl_lpuart.h:275
_lpuart_idle_type_select
LPUART idle flag type defines when the receiver starts counting.
Definition: fsl_lpuart.h:98
void LPUART_TransferHandleIRQ(LPUART_Type *base, void *irqHandle)
LPUART IRQ handle function.
Definition: fsl_lpuart.c:1836
enum _lpuart_data_bits lpuart_data_bits_t
LPUART data bits count.
void LPUART_TransferAbortSend(LPUART_Type *base, lpuart_handle_t *handle)
Aborts the interrupt-driven data transmit.
Definition: fsl_lpuart.c:1329
struct _lpuart_config lpuart_config_t
LPUART configuration structure.
void LPUART_SendAddress(LPUART_Type *base, uint8_t address)
Transmit an address frame in 9-bit data mode.
Definition: fsl_lpuart.c:737
status_t LPUART_TransferReceiveNonBlocking(LPUART_Type *base, lpuart_handle_t *handle, lpuart_transfer_t *xfer, size_t *receivedBytes)
Receives a buffer of data using the interrupt method.
Definition: fsl_lpuart.c:1412
void LPUART_GetDefaultConfig(lpuart_config_t *config)
Gets the default configuration structure.
Definition: fsl_lpuart.c:570
volatile size_t txDataSize
Definition: fsl_lpuart.h:291
enum _lpuart_stop_bit_count lpuart_stop_bit_count_t
LPUART stop bit count.
size_t dataSize
Definition: fsl_lpuart.h:278
enum _lpuart_parity_mode lpuart_parity_mode_t
LPUART parity mode.
uint32_t LPUART_GetInstance(LPUART_Type *base)
Get the LPUART instance from peripheral base address.
Definition: fsl_lpuart.c:147
enum _lpuart_idle_config lpuart_idle_config_t
LPUART idle detected configuration. This structure defines the number of idle characters that must be...
lpuart_transfer_callback_t callback
Definition: fsl_lpuart.h:302
bool enableRx
Definition: fsl_lpuart.h:262
lpuart_idle_config_t rxIdleConfig
Definition: fsl_lpuart.h:260
void LPUART_EnableInterrupts(LPUART_Type *base, uint32_t mask)
Enables LPUART interrupts according to a provided mask.
Definition: fsl_lpuart.c:759
uint32_t LPUART_GetStatusFlags(LPUART_Type *base)
Gets LPUART status flags.
Definition: fsl_lpuart.c:887
bool enableTx
Definition: fsl_lpuart.h:261
status_t LPUART_TransferGetReceiveCount(LPUART_Type *base, lpuart_handle_t *handle, uint32_t *count)
Gets the number of bytes that have been received.
Definition: fsl_lpuart.c:1582
volatile uint8_t rxState
Definition: fsl_lpuart.h:306
status_t LPUART_ClearStatusFlags(LPUART_Type *base, uint32_t mask)
Clears status flags with a provided mask.
Definition: fsl_lpuart.c:920
volatile size_t rxDataSize
Definition: fsl_lpuart.h:294
_lpuart_stop_bit_count
LPUART stop bit count.
Definition: fsl_lpuart.h:75
void LPUART_TransferStopRingBuffer(LPUART_Type *base, lpuart_handle_t *handle)
Aborts the background transfer and uninstalls the ring buffer.
Definition: fsl_lpuart.c:1248
status_t LPUART_TransferGetSendCount(LPUART_Type *base, lpuart_handle_t *handle, uint32_t *count)
Gets the number of bytes that have been sent out to bus.
Definition: fsl_lpuart.c:1354
void * userData
Definition: fsl_lpuart.h:303
size_t rxDataSizeAll
Definition: fsl_lpuart.h:295
status_t LPUART_ReadBlocking(LPUART_Type *base, uint8_t *data, size_t length)
Reads the receiver data register using a blocking method.
Definition: fsl_lpuart.c:1035
void LPUART_Enable9bitMode(LPUART_Type *base, bool enable)
Enable 9-bit data mode for LPUART.
Definition: fsl_lpuart.c:703
uint32_t baudRate_Bps
Definition: fsl_lpuart.h:242
status_t LPUART_SetBaudRate(LPUART_Type *base, uint32_t baudRate_Bps, uint32_t srcClock_Hz)
Sets the LPUART instance baudrate.
Definition: fsl_lpuart.c:615
lpuart_data_bits_t dataBitsCount
Definition: fsl_lpuart.h:244
status_t LPUART_TransferSendNonBlocking(LPUART_Type *base, lpuart_handle_t *handle, lpuart_transfer_t *xfer)
Transmits a buffer of data using the interrupt method.
Definition: fsl_lpuart.c:1286
const uint8_t * txData
Definition: fsl_lpuart.h:276
@ kLPUART_IdleCharacter32
Definition: fsl_lpuart.h:114
@ kLPUART_IdleCharacter2
Definition: fsl_lpuart.h:110
@ kLPUART_IdleCharacter128
Definition: fsl_lpuart.h:116
@ kLPUART_IdleCharacter1
Definition: fsl_lpuart.h:109
@ kLPUART_IdleCharacter64
Definition: fsl_lpuart.h:115
@ kLPUART_IdleCharacter4
Definition: fsl_lpuart.h:111
@ kLPUART_IdleCharacter16
Definition: fsl_lpuart.h:113
@ kLPUART_IdleCharacter8
Definition: fsl_lpuart.h:112
@ kLPUART_TransmissionCompleteInterruptEnable
Definition: fsl_lpuart.h:131
@ kLPUART_TxDataRegEmptyInterruptEnable
Definition: fsl_lpuart.h:130
@ kLPUART_ParityErrorInterruptEnable
Definition: fsl_lpuart.h:137
@ kLPUART_FramingErrorInterruptEnable
Definition: fsl_lpuart.h:136
@ kLPUART_RxActiveEdgeInterruptEnable
Definition: fsl_lpuart.h:129
@ kLPUART_RxDataRegFullInterruptEnable
Definition: fsl_lpuart.h:132
@ kLPUART_RxOverrunInterruptEnable
Definition: fsl_lpuart.h:134
@ kLPUART_NoiseErrorInterruptEnable
Definition: fsl_lpuart.h:135
@ kLPUART_IdleLineInterruptEnable
Definition: fsl_lpuart.h:133
@ kLPUART_ParityDisabled
Definition: fsl_lpuart.h:59
@ kLPUART_ParityEven
Definition: fsl_lpuart.h:60
@ kLPUART_ParityOdd
Definition: fsl_lpuart.h:61
@ kLPUART_RxActiveFlag
Definition: fsl_lpuart.h:191
@ kLPUART_NoiseErrorFlag
Definition: fsl_lpuart.h:180
@ kLPUART_ParityErrorFlag
Definition: fsl_lpuart.h:184
@ kLPUART_RxOverrunFlag
Definition: fsl_lpuart.h:178
@ kLPUART_RxDataRegFullFlag
Definition: fsl_lpuart.h:175
@ kLPUART_TxDataRegEmptyFlag
Definition: fsl_lpuart.h:171
@ kLPUART_IdleLineFlag
Definition: fsl_lpuart.h:177
@ kLPUART_FramingErrorFlag
Definition: fsl_lpuart.h:182
@ kLPUART_TransmissionCompleteFlag
Definition: fsl_lpuart.h:173
@ kLPUART_RxActiveEdgeFlag
Definition: fsl_lpuart.h:189
@ kLPUART_EightDataBits
Definition: fsl_lpuart.h:67
@ kLPUART_IdleTypeStartBit
Definition: fsl_lpuart.h:99
@ kLPUART_IdleTypeStopBit
Definition: fsl_lpuart.h:100
@ kStatus_LPUART_RxIdle
Definition: fsl_lpuart.h:39
@ kStatus_LPUART_TxIdle
Definition: fsl_lpuart.h:38
@ kStatus_LPUART_FlagCannotClearManually
Definition: fsl_lpuart.h:42
@ kStatus_LPUART_Timeout
Definition: fsl_lpuart.h:53
@ kStatus_LPUART_FramingError
Definition: fsl_lpuart.h:48
@ kStatus_LPUART_IdleLineDetected
Definition: fsl_lpuart.h:52
@ kStatus_LPUART_RxRingBufferOverrun
Definition: fsl_lpuart.h:44
@ kStatus_LPUART_NoiseError
Definition: fsl_lpuart.h:47
@ kStatus_LPUART_RxBusy
Definition: fsl_lpuart.h:37
@ kStatus_LPUART_BaudrateNotSupport
Definition: fsl_lpuart.h:50
@ kStatus_LPUART_TxWatermarkTooLarge
Definition: fsl_lpuart.h:40
@ kStatus_LPUART_TxBusy
Definition: fsl_lpuart.h:36
@ kStatus_LPUART_RxWatermarkTooLarge
Definition: fsl_lpuart.h:41
@ kStatus_LPUART_ParityError
Definition: fsl_lpuart.h:49
@ kStatus_LPUART_Error
Definition: fsl_lpuart.h:43
@ kStatus_LPUART_RxHardwareOverrun
Definition: fsl_lpuart.h:46
@ kLPUART_OneStopBit
Definition: fsl_lpuart.h:76
@ kLPUART_TwoStopBit
Definition: fsl_lpuart.h:77
Definition: MIMXRT1052.h:31147
LPUART configuration structure.
Definition: fsl_lpuart.h:241
LPUART handle structure.
Definition: fsl_lpuart.h:289
LPUART transfer structure.
Definition: fsl_lpuart.h:267
Definition: deflate.c:114