L4 HAL Drivers

Embed: (wiki syntax)

« Back to documentation index

Configuration functions related to Driver Enable feature

Configuration functions related to Driver Enable feature
[LPUART Exported Functions]

Functions

__STATIC_INLINE void LL_LPUART_SetDEDeassertionTime (USART_TypeDef *LPUARTx, uint32_t Time)
 Set DEDT (Driver Enable Deassertion Time), Time value expressed on 5 bits ([4:0] bits).
__STATIC_INLINE uint32_t LL_LPUART_GetDEDeassertionTime (USART_TypeDef *LPUARTx)
 Return DEDT (Driver Enable Deassertion Time) CR1 DEDT LL_LPUART_GetDEDeassertionTime.
__STATIC_INLINE void LL_LPUART_SetDEAssertionTime (USART_TypeDef *LPUARTx, uint32_t Time)
 Set DEAT (Driver Enable Assertion Time), Time value expressed on 5 bits ([4:0] bits).
__STATIC_INLINE uint32_t LL_LPUART_GetDEAssertionTime (USART_TypeDef *LPUARTx)
 Return DEAT (Driver Enable Assertion Time) CR1 DEAT LL_LPUART_GetDEAssertionTime.
__STATIC_INLINE void LL_LPUART_EnableDEMode (USART_TypeDef *LPUARTx)
 Enable Driver Enable (DE) Mode CR3 DEM LL_LPUART_EnableDEMode.
__STATIC_INLINE void LL_LPUART_DisableDEMode (USART_TypeDef *LPUARTx)
 Disable Driver Enable (DE) Mode CR3 DEM LL_LPUART_DisableDEMode.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledDEMode (USART_TypeDef *LPUARTx)
 Indicate if Driver Enable (DE) Mode is enabled CR3 DEM LL_LPUART_IsEnabledDEMode.
__STATIC_INLINE void LL_LPUART_SetDESignalPolarity (USART_TypeDef *LPUARTx, uint32_t Polarity)
 Select Driver Enable Polarity CR3 DEP LL_LPUART_SetDESignalPolarity.
__STATIC_INLINE uint32_t LL_LPUART_GetDESignalPolarity (USART_TypeDef *LPUARTx)
 Return Driver Enable Polarity CR3 DEP LL_LPUART_GetDESignalPolarity.

Function Documentation

__STATIC_INLINE void LL_LPUART_DisableDEMode ( USART_TypeDef *  LPUARTx )

Disable Driver Enable (DE) Mode CR3 DEM LL_LPUART_DisableDEMode.

Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 1172 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_EnableDEMode ( USART_TypeDef *  LPUARTx )

Enable Driver Enable (DE) Mode CR3 DEM LL_LPUART_EnableDEMode.

Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 1161 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE uint32_t LL_LPUART_GetDEAssertionTime ( USART_TypeDef *  LPUARTx )

Return DEAT (Driver Enable Assertion Time) CR1 DEAT LL_LPUART_GetDEAssertionTime.

Parameters:
LPUARTxLPUART Instance
Return values:
Timevalue expressed on 5 bits ([4:0] bits) : 0..31

Definition at line 1150 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE uint32_t LL_LPUART_GetDEDeassertionTime ( USART_TypeDef *  LPUARTx )

Return DEDT (Driver Enable Deassertion Time) CR1 DEDT LL_LPUART_GetDEDeassertionTime.

Parameters:
LPUARTxLPUART Instance
Return values:
Timevalue expressed on 5 bits ([4:0] bits) : 0..31

Definition at line 1127 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE uint32_t LL_LPUART_GetDESignalPolarity ( USART_TypeDef *  LPUARTx )

Return Driver Enable Polarity CR3 DEP LL_LPUART_GetDESignalPolarity.

Parameters:
LPUARTxLPUART Instance
Return values:
Returnedvalue can be one of the following values:

  • LL_LPUART_DE_POLARITY_HIGH
  • LL_LPUART_DE_POLARITY_LOW

Definition at line 1210 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE uint32_t LL_LPUART_IsEnabledDEMode ( USART_TypeDef *  LPUARTx )

Indicate if Driver Enable (DE) Mode is enabled CR3 DEM LL_LPUART_IsEnabledDEMode.

Parameters:
LPUARTxLPUART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1183 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_SetDEAssertionTime ( USART_TypeDef *  LPUARTx,
uint32_t  Time 
)

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

CR1 DEAT LL_LPUART_SetDEAssertionTime

Parameters:
LPUARTxLPUART Instance
Time0..31
Return values:
None

Definition at line 1139 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_SetDEDeassertionTime ( USART_TypeDef *  LPUARTx,
uint32_t  Time 
)

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

CR1 DEDT LL_LPUART_SetDEDeassertionTime

Parameters:
LPUARTxLPUART Instance
Time0..31
Return values:
None

Definition at line 1116 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_SetDESignalPolarity ( USART_TypeDef *  LPUARTx,
uint32_t  Polarity 
)

Select Driver Enable Polarity CR3 DEP LL_LPUART_SetDESignalPolarity.

Parameters:
LPUARTxLPUART Instance
PolarityThis parameter can be one of the following values:

  • LL_LPUART_DE_POLARITY_HIGH
  • LL_LPUART_DE_POLARITY_LOW
Return values:
None

Definition at line 1197 of file stm32l4xx_ll_lpuart.h.