L4 HAL Drivers
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:
-
LPUARTx LPUART 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:
-
LPUARTx LPUART 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:
-
LPUARTx LPUART Instance
- Return values:
-
Time value 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:
-
LPUARTx LPUART Instance
- Return values:
-
Time value 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:
-
LPUARTx LPUART Instance
- Return values:
-
Returned value 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:
-
LPUARTx LPUART Instance
- Return values:
-
State of 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:
-
LPUARTx LPUART Instance Time 0..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:
-
LPUARTx LPUART Instance Time 0..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:
-
LPUARTx LPUART Instance Polarity This 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.
Generated on Tue Jul 12 2022 10:58:14 by 1.7.2