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.
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. CR3 DEM LL_USART_DisableDEMode
- Parameters:
-
USARTx USART Instance
- Return values:
-
None
Definition at line 2186 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. CR3 DEM LL_USART_EnableDEMode
- Parameters:
-
USARTx USART Instance
- Return values:
-
None
Definition at line 2173 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. CR1 DEAT LL_USART_GetDEAssertionTime
- Parameters:
-
USARTx USART Instance
- Return values:
-
Time value expressed on 5 bits ([4:0] bits) : Value between Min_Data=0 and Max_Data=31
Definition at line 2160 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. CR1 DEDT LL_USART_GetDEDeassertionTime
- Parameters:
-
USARTx USART Instance
- Return values:
-
Time value expressed on 5 bits ([4:0] bits) : Value between Min_Data=0 and Max_Data=31
Definition at line 2133 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. CR3 DEP LL_USART_GetDESignalPolarity
- Parameters:
-
USARTx USART Instance
- Return values:
-
Returned value can be one of the following values: - LL_USART_DE_POLARITY_HIGH
- LL_USART_DE_POLARITY_LOW
Definition at line 2230 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. CR3 DEM LL_USART_IsEnabledDEMode
- Parameters:
-
USARTx USART Instance
- Return values:
-
State of bit (1 or 0).
Definition at line 2199 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. CR1 DEAT LL_USART_SetDEAssertionTime
- Parameters:
-
USARTx USART Instance Time Value between Min_Data=0 and Max_Data=31
- Return values:
-
None
Definition at line 2147 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. CR1 DEDT LL_USART_SetDEDeassertionTime
- Parameters:
-
USARTx USART Instance Time Value between Min_Data=0 and Max_Data=31
- Return values:
-
None
Definition at line 2120 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. CR3 DEP LL_USART_SetDESignalPolarity
- Parameters:
-
USARTx USART Instance Polarity This parameter can be one of the following values: - LL_USART_DE_POLARITY_HIGH
- LL_USART_DE_POLARITY_LOW
- Return values:
-
None
Definition at line 2215 of file stm32l4xx_ll_usart.h.
Generated on Tue Jul 12 2022 18:10:51 by
