STM32L486xx HAL User Manual
Functions
IT_Management
LPUART Exported Functions

Functions

__STATIC_INLINE void LL_LPUART_EnableIT_IDLE (USART_TypeDef *LPUARTx)
 Enable IDLE Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_RXNE (USART_TypeDef *LPUARTx)
 Enable RX Not Empty Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_TC (USART_TypeDef *LPUARTx)
 Enable Transmission Complete Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_TXE (USART_TypeDef *LPUARTx)
 Enable TX Empty Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_PE (USART_TypeDef *LPUARTx)
 Enable Parity Error Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_CM (USART_TypeDef *LPUARTx)
 Enable Character Match Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_ERROR (USART_TypeDef *LPUARTx)
 Enable Error Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_CTS (USART_TypeDef *LPUARTx)
 Enable CTS Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_WKUP (USART_TypeDef *LPUARTx)
 Enable Wake Up from Stop Mode Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_IDLE (USART_TypeDef *LPUARTx)
 Disable IDLE Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_RXNE (USART_TypeDef *LPUARTx)
 Disable RX Not Empty Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_TC (USART_TypeDef *LPUARTx)
 Disable Transmission Complete Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_TXE (USART_TypeDef *LPUARTx)
 Disable TX Empty Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_PE (USART_TypeDef *LPUARTx)
 Disable Parity Error Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_CM (USART_TypeDef *LPUARTx)
 Disable Character Match Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_ERROR (USART_TypeDef *LPUARTx)
 Disable Error Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_CTS (USART_TypeDef *LPUARTx)
 Disable CTS Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_WKUP (USART_TypeDef *LPUARTx)
 Disable Wake Up from Stop Mode Interrupt.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_IDLE (USART_TypeDef *LPUARTx)
 Check if the LPUART IDLE Interrupt source is enabled or disabled.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_RXNE (USART_TypeDef *LPUARTx)
 Check if the LPUART RX Not Empty Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_TC (USART_TypeDef *LPUARTx)
 Check if the LPUART Transmission Complete Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_TXE (USART_TypeDef *LPUARTx)
 Check if the LPUART TX Empty Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_PE (USART_TypeDef *LPUARTx)
 Check if the LPUART Parity Error Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_CM (USART_TypeDef *LPUARTx)
 Check if the LPUART Character Match Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_ERROR (USART_TypeDef *LPUARTx)
 Check if the LPUART Error Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_CTS (USART_TypeDef *LPUARTx)
 Check if the LPUART CTS Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_WKUP (USART_TypeDef *LPUARTx)
 Check if the LPUART Wake Up from Stop Mode Interrupt is enabled or disabled.

Function Documentation

__STATIC_INLINE void LL_LPUART_DisableIT_CM ( USART_TypeDef *  LPUARTx)

Disable Character Match Interrupt.

Reference Manual to LL API cross reference:
CR1 CMIE LL_LPUART_DisableIT_CM
Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 2334 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_DisableIT_CTS ( USART_TypeDef *  LPUARTx)

Disable CTS Interrupt.

Reference Manual to LL API cross reference:
CR3 CTSIE LL_LPUART_DisableIT_CTS
Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 2384 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_DisableIT_ERROR ( USART_TypeDef *  LPUARTx)

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 LPUARTx_ISR register).
  • 0: Interrupt is inhibited
  • 1: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the LPUARTx_ISR register.
Reference Manual to LL API cross reference:
CR3 EIE LL_LPUART_DisableIT_ERROR
Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 2373 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_DisableIT_IDLE ( USART_TypeDef *  LPUARTx)

Disable IDLE Interrupt.

Reference Manual to LL API cross reference:
CR1 IDLEIE LL_LPUART_DisableIT_IDLE
Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 2245 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_DisableIT_PE ( USART_TypeDef *  LPUARTx)

Disable Parity Error Interrupt.

Reference Manual to LL API cross reference:
CR1 PEIE LL_LPUART_DisableIT_PE
Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 2323 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_DisableIT_RXNE ( USART_TypeDef *  LPUARTx)

Disable RX Not Empty Interrupt.

Reference Manual to LL API cross reference:
CR1 RXNEIE LL_LPUART_DisableIT_RXNE
Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 2272 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_DisableIT_TC ( USART_TypeDef *  LPUARTx)

Disable Transmission Complete Interrupt.

Reference Manual to LL API cross reference:
CR1 TCIE LL_LPUART_DisableIT_TC
Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 2284 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_DisableIT_TXE ( USART_TypeDef *  LPUARTx)

Disable TX Empty Interrupt.

Reference Manual to LL API cross reference:
CR1 TXEIE LL_LPUART_DisableIT_TXE
Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 2311 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_DisableIT_WKUP ( USART_TypeDef *  LPUARTx)

Disable Wake Up from Stop Mode Interrupt.

Reference Manual to LL API cross reference:
CR3 WUFIE LL_LPUART_DisableIT_WKUP
Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 2395 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_EnableIT_CM ( USART_TypeDef *  LPUARTx)

Enable Character Match Interrupt.

Reference Manual to LL API cross reference:
CR1 CMIE LL_LPUART_EnableIT_CM
Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 2149 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_EnableIT_CTS ( USART_TypeDef *  LPUARTx)

Enable CTS Interrupt.

Reference Manual to LL API cross reference:
CR3 CTSIE LL_LPUART_EnableIT_CTS
Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 2199 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_EnableIT_ERROR ( USART_TypeDef *  LPUARTx)

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 LPUARTx_ISR register).
  • 0: Interrupt is inhibited
  • 1: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the LPUARTx_ISR register.
Reference Manual to LL API cross reference:
CR3 EIE LL_LPUART_EnableIT_ERROR
Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 2188 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_EnableIT_IDLE ( USART_TypeDef *  LPUARTx)

Enable IDLE Interrupt.

Reference Manual to LL API cross reference:
CR1 IDLEIE LL_LPUART_EnableIT_IDLE
Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 2060 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_EnableIT_PE ( USART_TypeDef *  LPUARTx)

Enable Parity Error Interrupt.

Reference Manual to LL API cross reference:
CR1 PEIE LL_LPUART_EnableIT_PE
Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 2138 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_EnableIT_RXNE ( USART_TypeDef *  LPUARTx)

Enable RX Not Empty Interrupt.

Reference Manual to LL API cross reference:
CR1 RXNEIE LL_LPUART_EnableIT_RXNE
Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 2087 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_EnableIT_TC ( USART_TypeDef *  LPUARTx)

Enable Transmission Complete Interrupt.

Reference Manual to LL API cross reference:
CR1 TCIE LL_LPUART_EnableIT_TC
Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 2099 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_EnableIT_TXE ( USART_TypeDef *  LPUARTx)

Enable TX Empty Interrupt.

Reference Manual to LL API cross reference:
CR1 TXEIE LL_LPUART_EnableIT_TXE
Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 2126 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_EnableIT_WKUP ( USART_TypeDef *  LPUARTx)

Enable Wake Up from Stop Mode Interrupt.

Reference Manual to LL API cross reference:
CR3 WUFIE LL_LPUART_EnableIT_WKUP
Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 2210 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_CM ( USART_TypeDef *  LPUARTx)

Check if the LPUART Character Match Interrupt is enabled or disabled.

Reference Manual to LL API cross reference:
CR1 CMIE LL_LPUART_IsEnabledIT_CM
Parameters:
LPUARTxLPUART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 2519 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_CTS ( USART_TypeDef *  LPUARTx)

Check if the LPUART CTS Interrupt is enabled or disabled.

Reference Manual to LL API cross reference:
CR3 CTSIE LL_LPUART_IsEnabledIT_CTS
Parameters:
LPUARTxLPUART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 2565 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_ERROR ( USART_TypeDef *  LPUARTx)

Check if the LPUART Error Interrupt is enabled or disabled.

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

Definition at line 2554 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_IDLE ( USART_TypeDef *  LPUARTx)

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

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

Definition at line 2430 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_PE ( USART_TypeDef *  LPUARTx)

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

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

Definition at line 2508 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_RXNE ( USART_TypeDef *  LPUARTx)

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

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

Definition at line 2457 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_TC ( USART_TypeDef *  LPUARTx)

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

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

Definition at line 2469 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_TXE ( USART_TypeDef *  LPUARTx)

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

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

Definition at line 2496 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_WKUP ( USART_TypeDef *  LPUARTx)

Check if the LPUART Wake Up from Stop Mode Interrupt is enabled or disabled.

Reference Manual to LL API cross reference:
CR3 WUFIE LL_LPUART_IsEnabledIT_WKUP
Parameters:
LPUARTxLPUART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 2576 of file stm32l4xx_ll_lpuart.h.