|
STM32L4xx_HAL_Driver
1.14.0
|
Functions | |
| void | UART_InitCallbacksToDefault (UART_HandleTypeDef *huart) |
| Initialize the callbacks to their default values. More... | |
| HAL_StatusTypeDef | UART_SetConfig (UART_HandleTypeDef *huart) |
| Configure the UART peripheral. More... | |
| HAL_StatusTypeDef | UART_CheckIdleState (UART_HandleTypeDef *huart) |
| Check the UART Idle State. More... | |
| HAL_StatusTypeDef | UART_WaitOnFlagUntilTimeout (UART_HandleTypeDef *huart, uint32_t Flag, FlagStatus Status, uint32_t Tickstart, uint32_t Timeout) |
| Handle UART Communication Timeout. More... | |
| void | UART_AdvFeatureConfig (UART_HandleTypeDef *huart) |
| Configure the UART peripheral advanced features. More... | |
| static void | UART_EndTxTransfer (UART_HandleTypeDef *huart) |
| End ongoing Tx transfer on UART peripheral (following error detection or Transmit completion). More... | |
| static void | UART_EndRxTransfer (UART_HandleTypeDef *huart) |
| End ongoing Rx transfer on UART peripheral (following error detection or Reception completion). More... | |
| static void | UART_DMATransmitCplt (DMA_HandleTypeDef *hdma) |
| DMA UART transmit process complete callback. More... | |
| static void | UART_DMAReceiveCplt (DMA_HandleTypeDef *hdma) |
| DMA UART receive process complete callback. More... | |
| static void | UART_DMARxHalfCplt (DMA_HandleTypeDef *hdma) |
| DMA UART receive process half complete callback. More... | |
| static void | UART_DMATxHalfCplt (DMA_HandleTypeDef *hdma) |
| DMA UART transmit process half complete callback. More... | |
| static void | UART_DMAError (DMA_HandleTypeDef *hdma) |
| DMA UART communication error callback. More... | |
| static void | UART_DMAAbortOnError (DMA_HandleTypeDef *hdma) |
| DMA UART communication abort callback, when initiated by HAL services on Error (To be called at end of DMA Abort procedure following error occurrence). More... | |
| static void | UART_DMATxAbortCallback (DMA_HandleTypeDef *hdma) |
| DMA UART Tx communication abort callback, when initiated by user (To be called at end of DMA Tx Abort procedure following user abort request). More... | |
| static void | UART_DMARxAbortCallback (DMA_HandleTypeDef *hdma) |
| DMA UART Rx communication abort callback, when initiated by user (To be called at end of DMA Rx Abort procedure following user abort request). More... | |
| static void | UART_DMATxOnlyAbortCallback (DMA_HandleTypeDef *hdma) |
| DMA UART Tx communication abort callback, when initiated by user by a call to HAL_UART_AbortTransmit_IT API (Abort only Tx transfer) (This callback is executed at end of DMA Tx Abort procedure following user abort request, and leads to user Tx Abort Complete callback execution). More... | |
| static void | UART_DMARxOnlyAbortCallback (DMA_HandleTypeDef *hdma) |
| DMA UART Rx communication abort callback, when initiated by user by a call to HAL_UART_AbortReceive_IT API (Abort only Rx transfer) (This callback is executed at end of DMA Rx Abort procedure following user abort request, and leads to user Rx Abort Complete callback execution). More... | |
| static void | UART_TxISR_8BIT (UART_HandleTypeDef *huart) |
| TX interrrupt handler for 7 or 8 bits data word length . More... | |
| static void | UART_TxISR_16BIT (UART_HandleTypeDef *huart) |
| TX interrrupt handler for 9 bits data word length. More... | |
| static void | UART_TxISR_8BIT_FIFOEN (UART_HandleTypeDef *huart) |
| TX interrrupt handler for 7 or 8 bits data word length and FIFO mode is enabled. More... | |
| static void | UART_TxISR_16BIT_FIFOEN (UART_HandleTypeDef *huart) |
| TX interrrupt handler for 9 bits data word length and FIFO mode is enabled. More... | |
| static void | UART_EndTransmit_IT (UART_HandleTypeDef *huart) |
| Wrap up transmission in non-blocking mode. More... | |
| static void | UART_RxISR_8BIT (UART_HandleTypeDef *huart) |
| RX interrrupt handler for 7 or 8 bits data word length . More... | |
| static void | UART_RxISR_16BIT (UART_HandleTypeDef *huart) |
| RX interrrupt handler for 9 bits data word length . More... | |
| static void | UART_RxISR_8BIT_FIFOEN (UART_HandleTypeDef *huart) |
| RX interrrupt handler for 7 or 8 bits data word length and FIFO mode is enabled. More... | |
| static void | UART_RxISR_16BIT_FIFOEN (UART_HandleTypeDef *huart) |
| RX interrrupt handler for 9 bits data word length and FIFO mode is enabled. More... | |
| void UART_AdvFeatureConfig | ( | UART_HandleTypeDef * | huart | ) |
Configure the UART peripheral advanced features.
| huart | UART handle. |
| None |
Definition at line 3154 of file stm32l4xx_hal_uart.c.
| HAL_StatusTypeDef UART_CheckIdleState | ( | UART_HandleTypeDef * | huart | ) |
Check the UART Idle State.
| huart | UART handle. |
| HAL | status |
Definition at line 3228 of file stm32l4xx_hal_uart.c.
|
static |
DMA UART communication abort callback, when initiated by HAL services on Error (To be called at end of DMA Abort procedure following error occurrence).
| hdma | DMA handle. |
| None |
Definition at line 3505 of file stm32l4xx_hal_uart.c.
|
static |
DMA UART communication error callback.
| hdma | DMA handle. |
| None |
Definition at line 3465 of file stm32l4xx_hal_uart.c.
|
static |
DMA UART receive process complete callback.
| hdma | DMA handle. |
| None |
Definition at line 3412 of file stm32l4xx_hal_uart.c.
|
static |
DMA UART Rx communication abort callback, when initiated by user (To be called at end of DMA Rx Abort procedure following user abort request).
| hdma | DMA handle. |
| None |
Definition at line 3584 of file stm32l4xx_hal_uart.c.
|
static |
DMA UART receive process half complete callback.
| hdma | DMA handle. |
| None |
Definition at line 3447 of file stm32l4xx_hal_uart.c.
|
static |
DMA UART Rx communication abort callback, when initiated by user by a call to HAL_UART_AbortReceive_IT API (Abort only Rx transfer) (This callback is executed at end of DMA Rx Abort procedure following user abort request, and leads to user Rx Abort Complete callback execution).
| hdma | DMA handle. |
| None |
Definition at line 3670 of file stm32l4xx_hal_uart.c.
|
static |
DMA UART transmit process complete callback.
| hdma | DMA handle. |
| None |
Definition at line 3360 of file stm32l4xx_hal_uart.c.
|
static |
DMA UART Tx communication abort callback, when initiated by user (To be called at end of DMA Tx Abort procedure following user abort request).
| hdma | DMA handle. |
| None |
Definition at line 3528 of file stm32l4xx_hal_uart.c.
|
static |
DMA UART transmit process half complete callback.
| hdma | DMA handle. |
| None |
Definition at line 3394 of file stm32l4xx_hal_uart.c.
|
static |
DMA UART Tx communication abort callback, when initiated by user by a call to HAL_UART_AbortTransmit_IT API (Abort only Tx transfer) (This callback is executed at end of DMA Tx Abort procedure following user abort request, and leads to user Tx Abort Complete callback execution).
| hdma | DMA handle. |
| None |
Definition at line 3635 of file stm32l4xx_hal_uart.c.
|
static |
End ongoing Rx transfer on UART peripheral (following error detection or Reception completion).
| huart | UART handle. |
| None |
Definition at line 3336 of file stm32l4xx_hal_uart.c.
|
static |
Wrap up transmission in non-blocking mode.
| huart | pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module. |
| None |
Definition at line 3854 of file stm32l4xx_hal_uart.c.
|
static |
End ongoing Tx transfer on UART peripheral (following error detection or Transmit completion).
| huart | UART handle. |
| None |
Definition at line 3315 of file stm32l4xx_hal_uart.c.
| void UART_InitCallbacksToDefault | ( | UART_HandleTypeDef * | huart | ) |
Initialize the callbacks to their default values.
| huart | UART handle. |
| none |
Definition at line 2826 of file stm32l4xx_hal_uart.c.
|
static |
RX interrrupt handler for 9 bits data word length .
| huart | UART handle. |
| None |
Definition at line 3933 of file stm32l4xx_hal_uart.c.
|
static |
RX interrrupt handler for 9 bits data word length and FIFO mode is enabled.
| huart | UART handle. |
| None |
Definition at line 4062 of file stm32l4xx_hal_uart.c.
|
static |
RX interrrupt handler for 7 or 8 bits data word length .
| huart | UART handle. |
| None |
Definition at line 3879 of file stm32l4xx_hal_uart.c.
|
static |
RX interrrupt handler for 7 or 8 bits data word length and FIFO mode is enabled.
| huart | UART handle. |
| None |
Definition at line 3990 of file stm32l4xx_hal_uart.c.
| HAL_StatusTypeDef UART_SetConfig | ( | UART_HandleTypeDef * | huart | ) |
Configure the UART peripheral.
| huart | UART handle. |
| HAL | status |
Definition at line 2851 of file stm32l4xx_hal_uart.c.
|
static |
TX interrrupt handler for 9 bits data word length.
| huart | UART handle. |
| None |
Definition at line 3735 of file stm32l4xx_hal_uart.c.
|
static |
TX interrrupt handler for 9 bits data word length and FIFO mode is enabled.
| huart | UART handle. |
| None |
Definition at line 3812 of file stm32l4xx_hal_uart.c.
|
static |
TX interrrupt handler for 7 or 8 bits data word length .
| huart | UART handle. |
| None |
Definition at line 3702 of file stm32l4xx_hal_uart.c.
|
static |
TX interrrupt handler for 7 or 8 bits data word length and FIFO mode is enabled.
| huart | UART handle. |
| None |
Definition at line 3772 of file stm32l4xx_hal_uart.c.
| HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout | ( | UART_HandleTypeDef * | huart, |
| uint32_t | Flag, | ||
| FlagStatus | Status, | ||
| uint32_t | Tickstart, | ||
| uint32_t | Timeout | ||
| ) |
Handle UART Communication Timeout.
| huart | UART handle. |
| Flag | Specifies the UART flag to check |
| Status | Flag status (SET or RESET) |
| Tickstart | Tick start value |
| Timeout | Timeout duration |
| HAL | status |
Definition at line 3278 of file stm32l4xx_hal_uart.c.