STM32L486xx HAL User Manual
Functions
Configuration functions related to Driver Enable feature
USART Exported Functions

Functions

__STATIC_INLINE void LL_USART_SetDEDeassertionTime (USART_TypeDef *USARTx, uint32_t Time)
 Set DEDT (Driver Enable De-Assertion Time), Time value expressed on 5 bits ([4:0] bits).
__STATIC_INLINE uint32_t LL_USART_GetDEDeassertionTime (USART_TypeDef *USARTx)
 Return DEDT (Driver Enable De-Assertion Time)
__STATIC_INLINE void LL_USART_SetDEAssertionTime (USART_TypeDef *USARTx, uint32_t Time)
 Set DEAT (Driver Enable Assertion Time), Time value expressed on 5 bits ([4:0] bits).
__STATIC_INLINE uint32_t LL_USART_GetDEAssertionTime (USART_TypeDef *USARTx)
 Return DEAT (Driver Enable Assertion Time)
__STATIC_INLINE void LL_USART_EnableDEMode (USART_TypeDef *USARTx)
 Enable Driver Enable (DE) Mode.
__STATIC_INLINE void LL_USART_DisableDEMode (USART_TypeDef *USARTx)
 Disable Driver Enable (DE) Mode.
__STATIC_INLINE uint32_t LL_USART_IsEnabledDEMode (USART_TypeDef *USARTx)
 Indicate if Driver Enable (DE) Mode is enabled.
__STATIC_INLINE void LL_USART_SetDESignalPolarity (USART_TypeDef *USARTx, uint32_t Polarity)
 Select Driver Enable Polarity.
__STATIC_INLINE uint32_t LL_USART_GetDESignalPolarity (USART_TypeDef *USARTx)
 Return Driver Enable Polarity.

Function Documentation

__STATIC_INLINE void LL_USART_DisableDEMode ( USART_TypeDef *  USARTx)

Disable Driver Enable (DE) Mode.

Note:
Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not Driver Enable feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 DEM LL_USART_DisableDEMode
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2711 of file stm32l4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_EnableDEMode ( USART_TypeDef *  USARTx)

Enable Driver Enable (DE) Mode.

Note:
Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not Driver Enable feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 DEM LL_USART_EnableDEMode
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2698 of file stm32l4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_GetDEAssertionTime ( USART_TypeDef *  USARTx)

Return DEAT (Driver Enable Assertion Time)

Note:
Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not Driver Enable feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR1 DEAT LL_USART_GetDEAssertionTime
Parameters:
USARTxUSART Instance
Return values:
Timevalue expressed on 5 bits ([4:0] bits) : Value between Min_Data=0 and Max_Data=31

Definition at line 2685 of file stm32l4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_GetDEDeassertionTime ( USART_TypeDef *  USARTx)

Return DEDT (Driver Enable De-Assertion Time)

Note:
Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not Driver Enable feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR1 DEDT LL_USART_GetDEDeassertionTime
Parameters:
USARTxUSART Instance
Return values:
Timevalue expressed on 5 bits ([4:0] bits) : Value between Min_Data=0 and Max_Data=31

Definition at line 2658 of file stm32l4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_GetDESignalPolarity ( USART_TypeDef *  USARTx)

Return Driver Enable Polarity.

Note:
Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not Driver Enable feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 DEP LL_USART_GetDESignalPolarity
Parameters:
USARTxUSART Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 2755 of file stm32l4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_IsEnabledDEMode ( USART_TypeDef *  USARTx)

Indicate if Driver Enable (DE) Mode is enabled.

Note:
Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not Driver Enable feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 DEM LL_USART_IsEnabledDEMode
Parameters:
USARTxUSART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 2724 of file stm32l4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_SetDEAssertionTime ( USART_TypeDef *  USARTx,
uint32_t  Time 
)

Set DEAT (Driver Enable Assertion Time), Time value expressed on 5 bits ([4:0] bits).

Note:
Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not Driver Enable feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR1 DEAT LL_USART_SetDEAssertionTime
Parameters:
USARTxUSART Instance
TimeValue between Min_Data=0 and Max_Data=31
Return values:
None

Definition at line 2672 of file stm32l4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_SetDEDeassertionTime ( USART_TypeDef *  USARTx,
uint32_t  Time 
)

Set DEDT (Driver Enable De-Assertion Time), Time value expressed on 5 bits ([4:0] bits).

Note:
Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not Driver Enable feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR1 DEDT LL_USART_SetDEDeassertionTime
Parameters:
USARTxUSART Instance
TimeValue between Min_Data=0 and Max_Data=31
Return values:
None

Definition at line 2645 of file stm32l4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_SetDESignalPolarity ( USART_TypeDef *  USARTx,
uint32_t  Polarity 
)

Select Driver Enable Polarity.

Note:
Macro IS_UART_DRIVER_ENABLE_INSTANCE(USARTx) can be used to check whether or not Driver Enable feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 DEP LL_USART_SetDESignalPolarity
Parameters:
USARTxUSART Instance
PolarityThis parameter can be one of the following values:
Return values:
None

Definition at line 2740 of file stm32l4xx_ll_usart.h.