Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
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 De-Assertion Time), Time value expressed on 5 bits ([4:0] bits). | |
__STATIC_INLINE uint32_t | LL_LPUART_GetDEDeassertionTime (USART_TypeDef *LPUARTx) |
Return DEDT (Driver Enable De-Assertion 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 1239 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 1228 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) : Time Value between Min_Data=0 and Max_Data=31
Definition at line 1217 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE uint32_t LL_LPUART_GetDEDeassertionTime | ( | USART_TypeDef * | LPUARTx ) |
Return DEDT (Driver Enable De-Assertion Time) CR1 DEDT LL_LPUART_GetDEDeassertionTime.
- Parameters:
-
LPUARTx LPUART Instance
- Return values:
-
Time value expressed on 5 bits ([4:0] bits) : c
Definition at line 1194 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 1277 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 1250 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 Value between Min_Data=0 and Max_Data=31
- Return values:
-
None
Definition at line 1206 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_SetDEDeassertionTime | ( | USART_TypeDef * | LPUARTx, |
uint32_t | Time | ||
) |
Set DEDT (Driver Enable De-Assertion Time), Time value expressed on 5 bits ([4:0] bits).
CR1 DEDT LL_LPUART_SetDEDeassertionTime
- Parameters:
-
LPUARTx LPUART Instance Time Value between Min_Data=0 and Max_Data=31
- Return values:
-
None
Definition at line 1183 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 1264 of file stm32l4xx_ll_lpuart.h.
Generated on Tue Jul 12 2022 17:38:57 by
