Hal Drivers for L4
Dependents: BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo
Fork of STM32L4xx_HAL_Driver by
Functions | |
static void | UART_DMATransmitCplt (DMA_HandleTypeDef *hdma) |
DMA UART transmit process complete callback. | |
static void | UART_DMAReceiveCplt (DMA_HandleTypeDef *hdma) |
DMA UART receive process complete callback. | |
static void | UART_DMARxHalfCplt (DMA_HandleTypeDef *hdma) |
DMA UART receive process half complete callback. | |
static void | UART_DMATxHalfCplt (DMA_HandleTypeDef *hdma) |
DMA UART transmit process half complete callback. | |
static void | UART_DMAError (DMA_HandleTypeDef *hdma) |
DMA UART communication error callback. | |
static HAL_StatusTypeDef | UART_Transmit_IT (UART_HandleTypeDef *huart) |
Send an amount of data in interrupt mode. | |
static HAL_StatusTypeDef | UART_EndTransmit_IT (UART_HandleTypeDef *huart) |
Wrap up transmission in non-blocking mode. | |
static HAL_StatusTypeDef | UART_Receive_IT (UART_HandleTypeDef *huart) |
Receive an amount of data in interrupt mode. | |
HAL_StatusTypeDef | UART_SetConfig (UART_HandleTypeDef *huart) |
Configure the UART peripheral. | |
void | UART_AdvFeatureConfig (UART_HandleTypeDef *huart) |
Configure the UART peripheral advanced features. | |
HAL_StatusTypeDef | UART_CheckIdleState (UART_HandleTypeDef *huart) |
Check the UART Idle State. | |
HAL_StatusTypeDef | UART_WaitOnFlagUntilTimeout (UART_HandleTypeDef *huart, uint32_t Flag, FlagStatus Status, uint32_t Timeout) |
Handle UART Communication Timeout. |
Function Documentation
void UART_AdvFeatureConfig | ( | UART_HandleTypeDef * | huart ) |
Configure the UART peripheral advanced features.
- Parameters:
-
huart,: UART handle.
- Return values:
-
None
Definition at line 1666 of file stm32l4xx_hal_uart.c.
HAL_StatusTypeDef UART_CheckIdleState | ( | UART_HandleTypeDef * | huart ) |
Check the UART Idle State.
- Parameters:
-
huart,: UART handle.
- Return values:
-
HAL status
Definition at line 1740 of file stm32l4xx_hal_uart.c.
static void UART_DMAError | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA UART communication error callback.
- Parameters:
-
hdma,: DMA handle.
- Return values:
-
None
Definition at line 1931 of file stm32l4xx_hal_uart.c.
static void UART_DMAReceiveCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA UART receive process complete callback.
- Parameters:
-
hdma,: DMA handle.
- Return values:
-
None
Definition at line 1821 of file stm32l4xx_hal_uart.c.
static void UART_DMARxHalfCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA UART receive process half complete callback.
- Parameters:
-
hdma : DMA handle.
- Return values:
-
None
Definition at line 1919 of file stm32l4xx_hal_uart.c.
static void UART_DMATransmitCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA UART transmit process complete callback.
- Parameters:
-
hdma,: DMA handle.
- Return values:
-
None
Definition at line 1780 of file stm32l4xx_hal_uart.c.
static void UART_DMATxHalfCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA UART transmit process half complete callback.
- Parameters:
-
hdma : DMA handle.
- Return values:
-
None
Definition at line 1809 of file stm32l4xx_hal_uart.c.
static HAL_StatusTypeDef UART_EndTransmit_IT | ( | UART_HandleTypeDef * | huart ) | [static] |
Wrap up transmission in non-blocking mode.
- Parameters:
-
huart,: pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module.
- Return values:
-
HAL status
Definition at line 1996 of file stm32l4xx_hal_uart.c.
static HAL_StatusTypeDef UART_Receive_IT | ( | UART_HandleTypeDef * | huart ) | [static] |
Receive an amount of data in interrupt mode.
- Note:
- Function is called under interruption only, once interruptions have been enabled by HAL_UART_Receive_IT()
- Parameters:
-
huart,: UART handle.
- Return values:
-
HAL status
Definition at line 2027 of file stm32l4xx_hal_uart.c.
HAL_StatusTypeDef UART_SetConfig | ( | UART_HandleTypeDef * | huart ) |
Configure the UART peripheral.
- Parameters:
-
huart,: UART handle.
- Return values:
-
HAL status
Definition at line 1475 of file stm32l4xx_hal_uart.c.
static HAL_StatusTypeDef UART_Transmit_IT | ( | UART_HandleTypeDef * | huart ) | [static] |
Send an amount of data in interrupt mode.
- Note:
- Function is called under interruption only, once interruptions have been enabled by HAL_UART_Transmit_IT().
- Parameters:
-
huart,: UART handle.
- Return values:
-
HAL status
Definition at line 1948 of file stm32l4xx_hal_uart.c.
HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout | ( | UART_HandleTypeDef * | huart, |
uint32_t | Flag, | ||
FlagStatus | Status, | ||
uint32_t | Timeout | ||
) |
Handle UART Communication Timeout.
- Parameters:
-
huart,: UART handle. Flag,: specifies the UART flag to check. Status,: the Flag status (SET or RESET). Timeout,: Timeout duration.
- Return values:
-
HAL status
Definition at line 1856 of file stm32l4xx_hal_uart.c.
Generated on Tue Jul 12 2022 11:35:31 by 1.7.2