Hal Drivers for L4
Dependents: BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo
Fork of STM32L4xx_HAL_Driver by
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 Deassertion Time), Time value expressed on 5 bits ([4:0] bits). | |
__STATIC_INLINE uint32_t | LL_USART_GetDEDeassertionTime (USART_TypeDef *USARTx) |
Return DEDT (Driver Enable Deassertion 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 2054 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 2041 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) : 0..31
Definition at line 2028 of file stm32l4xx_ll_usart.h.
__STATIC_INLINE uint32_t LL_USART_GetDEDeassertionTime | ( | USART_TypeDef * | USARTx ) |
Return DEDT (Driver Enable Deassertion 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) : 0..31
Definition at line 2001 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 2098 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 2067 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 0..31
- Return values:
-
None
Definition at line 2015 of file stm32l4xx_ll_usart.h.
__STATIC_INLINE void LL_USART_SetDEDeassertionTime | ( | USART_TypeDef * | USARTx, |
uint32_t | Time | ||
) |
Set DEDT (Driver Enable Deassertion 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 0..31
- Return values:
-
None
Definition at line 1988 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 2083 of file stm32l4xx_ll_usart.h.
Generated on Tue Jul 12 2022 11:35:29 by
