STM32F439xx HAL User Manual
Functions
IT_Management
USART Exported Functions

Functions

__STATIC_INLINE void LL_USART_EnableIT_IDLE (USART_TypeDef *USARTx)
 Enable IDLE Interrupt.
__STATIC_INLINE void LL_USART_EnableIT_RXNE (USART_TypeDef *USARTx)
 Enable RX Not Empty Interrupt.
__STATIC_INLINE void LL_USART_EnableIT_TC (USART_TypeDef *USARTx)
 Enable Transmission Complete Interrupt.
__STATIC_INLINE void LL_USART_EnableIT_TXE (USART_TypeDef *USARTx)
 Enable TX Empty Interrupt.
__STATIC_INLINE void LL_USART_EnableIT_PE (USART_TypeDef *USARTx)
 Enable Parity Error Interrupt.
__STATIC_INLINE void LL_USART_EnableIT_LBD (USART_TypeDef *USARTx)
 Enable LIN Break Detection Interrupt.
__STATIC_INLINE void LL_USART_EnableIT_ERROR (USART_TypeDef *USARTx)
 Enable Error Interrupt.
__STATIC_INLINE void LL_USART_EnableIT_CTS (USART_TypeDef *USARTx)
 Enable CTS Interrupt.
__STATIC_INLINE void LL_USART_DisableIT_IDLE (USART_TypeDef *USARTx)
 Disable IDLE Interrupt.
__STATIC_INLINE void LL_USART_DisableIT_RXNE (USART_TypeDef *USARTx)
 Disable RX Not Empty Interrupt.
__STATIC_INLINE void LL_USART_DisableIT_TC (USART_TypeDef *USARTx)
 Disable Transmission Complete Interrupt.
__STATIC_INLINE void LL_USART_DisableIT_TXE (USART_TypeDef *USARTx)
 Disable TX Empty Interrupt.
__STATIC_INLINE void LL_USART_DisableIT_PE (USART_TypeDef *USARTx)
 Disable Parity Error Interrupt.
__STATIC_INLINE void LL_USART_DisableIT_LBD (USART_TypeDef *USARTx)
 Disable LIN Break Detection Interrupt.
__STATIC_INLINE void LL_USART_DisableIT_ERROR (USART_TypeDef *USARTx)
 Disable Error Interrupt.
__STATIC_INLINE void LL_USART_DisableIT_CTS (USART_TypeDef *USARTx)
 Disable CTS Interrupt.
__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_IDLE (USART_TypeDef *USARTx)
 Check if the USART IDLE Interrupt source is enabled or disabled.
__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXNE (USART_TypeDef *USARTx)
 Check if the USART RX Not Empty Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TC (USART_TypeDef *USARTx)
 Check if the USART Transmission Complete Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXE (USART_TypeDef *USARTx)
 Check if the USART TX Empty Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_PE (USART_TypeDef *USARTx)
 Check if the USART Parity Error Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_LBD (USART_TypeDef *USARTx)
 Check if the USART LIN Break Detection Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_ERROR (USART_TypeDef *USARTx)
 Check if the USART Error Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_CTS (USART_TypeDef *USARTx)
 Check if the USART CTS Interrupt is enabled or disabled.

Function Documentation

__STATIC_INLINE void LL_USART_DisableIT_CTS ( USART_TypeDef *  USARTx)

Disable CTS Interrupt.

Note:
Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not Hardware Flow control feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 CTSIE LL_USART_DisableIT_CTS
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2220 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_DisableIT_ERROR ( USART_TypeDef *  USARTx)

Disable Error Interrupt.

Note:
When set, Error Interrupt Enable Bit is enabling interrupt generation in case of a framing error, overrun error or noise flag (FE=1 or ORE=1 or NF=1 in the USARTx_SR register). 0: Interrupt is inhibited 1: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the USARTx_SR register.
Reference Manual to LL API cross reference:
CR3 EIE LL_USART_DisableIT_ERROR
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2207 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_DisableIT_IDLE ( USART_TypeDef *  USARTx)

Disable IDLE Interrupt.

Reference Manual to LL API cross reference:
CR1 IDLEIE LL_USART_DisableIT_IDLE
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2135 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_DisableIT_LBD ( USART_TypeDef *  USARTx)

Disable LIN Break Detection Interrupt.

Note:
Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not LIN feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR2 LBDIE LL_USART_DisableIT_LBD
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2192 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_DisableIT_PE ( USART_TypeDef *  USARTx)

Disable Parity Error Interrupt.

Reference Manual to LL API cross reference:
CR1 PEIE LL_USART_DisableIT_PE
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2179 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_DisableIT_RXNE ( USART_TypeDef *  USARTx)

Disable RX Not Empty Interrupt.

Reference Manual to LL API cross reference:
CR1 RXNEIE LL_USART_DisableIT_RXNE
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2146 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_DisableIT_TC ( USART_TypeDef *  USARTx)

Disable Transmission Complete Interrupt.

Reference Manual to LL API cross reference:
CR1 TCIE LL_USART_DisableIT_TC
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2157 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_DisableIT_TXE ( USART_TypeDef *  USARTx)

Disable TX Empty Interrupt.

Reference Manual to LL API cross reference:
CR1 TXEIE LL_USART_DisableIT_TXE
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2168 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_EnableIT_CTS ( USART_TypeDef *  USARTx)

Enable CTS Interrupt.

Note:
Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not Hardware Flow control feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 CTSIE LL_USART_EnableIT_CTS
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2124 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_EnableIT_ERROR ( USART_TypeDef *  USARTx)

Enable Error Interrupt.

Note:
When set, Error Interrupt Enable Bit is enabling interrupt generation in case of a framing error, overrun error or noise flag (FE=1 or ORE=1 or NF=1 in the USARTx_SR register). 0: Interrupt is inhibited 1: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the USARTx_SR register.
Reference Manual to LL API cross reference:
CR3 EIE LL_USART_EnableIT_ERROR
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2111 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_EnableIT_IDLE ( USART_TypeDef *  USARTx)

Enable IDLE Interrupt.

Reference Manual to LL API cross reference:
CR1 IDLEIE LL_USART_EnableIT_IDLE
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2039 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_EnableIT_LBD ( USART_TypeDef *  USARTx)

Enable LIN Break Detection Interrupt.

Note:
Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not LIN feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR2 LBDIE LL_USART_EnableIT_LBD
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2096 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_EnableIT_PE ( USART_TypeDef *  USARTx)

Enable Parity Error Interrupt.

Reference Manual to LL API cross reference:
CR1 PEIE LL_USART_EnableIT_PE
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2083 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_EnableIT_RXNE ( USART_TypeDef *  USARTx)

Enable RX Not Empty Interrupt.

Reference Manual to LL API cross reference:
CR1 RXNEIE LL_USART_EnableIT_RXNE
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2050 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_EnableIT_TC ( USART_TypeDef *  USARTx)

Enable Transmission Complete Interrupt.

Reference Manual to LL API cross reference:
CR1 TCIE LL_USART_EnableIT_TC
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2061 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_EnableIT_TXE ( USART_TypeDef *  USARTx)

Enable TX Empty Interrupt.

Reference Manual to LL API cross reference:
CR1 TXEIE LL_USART_EnableIT_TXE
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2072 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_CTS ( USART_TypeDef *  USARTx)

Check if the USART CTS Interrupt is enabled or disabled.

Note:
Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not Hardware Flow control feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 CTSIE LL_USART_IsEnabledIT_CTS
Parameters:
USARTxUSART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 2312 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_ERROR ( USART_TypeDef *  USARTx)

Check if the USART Error Interrupt is enabled or disabled.

Reference Manual to LL API cross reference:
CR3 EIE LL_USART_IsEnabledIT_ERROR
Parameters:
USARTxUSART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 2299 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_IDLE ( USART_TypeDef *  USARTx)

Check if the USART IDLE Interrupt source is enabled or disabled.

Reference Manual to LL API cross reference:
CR1 IDLEIE LL_USART_IsEnabledIT_IDLE
Parameters:
USARTxUSART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 2231 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_LBD ( USART_TypeDef *  USARTx)

Check if the USART LIN Break Detection Interrupt is enabled or disabled.

Note:
Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not LIN feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR2 LBDIE LL_USART_IsEnabledIT_LBD
Parameters:
USARTxUSART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 2288 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_PE ( USART_TypeDef *  USARTx)

Check if the USART Parity Error Interrupt is enabled or disabled.

Reference Manual to LL API cross reference:
CR1 PEIE LL_USART_IsEnabledIT_PE
Parameters:
USARTxUSART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 2275 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXNE ( USART_TypeDef *  USARTx)

Check if the USART RX Not Empty Interrupt is enabled or disabled.

Reference Manual to LL API cross reference:
CR1 RXNEIE LL_USART_IsEnabledIT_RXNE
Parameters:
USARTxUSART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 2242 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TC ( USART_TypeDef *  USARTx)

Check if the USART Transmission Complete Interrupt is enabled or disabled.

Reference Manual to LL API cross reference:
CR1 TCIE LL_USART_IsEnabledIT_TC
Parameters:
USARTxUSART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 2253 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXE ( USART_TypeDef *  USARTx)

Check if the USART TX Empty Interrupt is enabled or disabled.

Reference Manual to LL API cross reference:
CR1 TXEIE LL_USART_IsEnabledIT_TXE
Parameters:
USARTxUSART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 2264 of file stm32f4xx_ll_usart.h.