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 LIN feature
[USART Exported Functions]
Functions | |
__STATIC_INLINE void | LL_USART_SetLINBrkDetectionLen (USART_TypeDef *USARTx, uint32_t LINBDLength) |
Set LIN Break Detection Length. | |
__STATIC_INLINE uint32_t | LL_USART_GetLINBrkDetectionLen (USART_TypeDef *USARTx) |
Return LIN Break Detection Length. | |
__STATIC_INLINE void | LL_USART_EnableLIN (USART_TypeDef *USARTx) |
Enable LIN mode. | |
__STATIC_INLINE void | LL_USART_DisableLIN (USART_TypeDef *USARTx) |
Disable LIN mode. | |
__STATIC_INLINE uint32_t | LL_USART_IsEnabledLIN (USART_TypeDef *USARTx) |
Indicate if LIN mode is enabled. |
Function Documentation
__STATIC_INLINE void LL_USART_DisableLIN | ( | USART_TypeDef * | USARTx ) |
Disable LIN mode.
- Note:
- Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not LIN feature is supported by the USARTx instance. CR2 LINEN LL_USART_DisableLIN
- Parameters:
-
USARTx USART Instance
- Return values:
-
None
Definition at line 2085 of file stm32l4xx_ll_usart.h.
__STATIC_INLINE void LL_USART_EnableLIN | ( | USART_TypeDef * | USARTx ) |
Enable LIN mode.
- Note:
- Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not LIN feature is supported by the USARTx instance. CR2 LINEN LL_USART_EnableLIN
- Parameters:
-
USARTx USART Instance
- Return values:
-
None
Definition at line 2072 of file stm32l4xx_ll_usart.h.
__STATIC_INLINE uint32_t LL_USART_GetLINBrkDetectionLen | ( | USART_TypeDef * | USARTx ) |
Return LIN Break Detection Length.
- Note:
- Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not LIN feature is supported by the USARTx instance. CR2 LBDL LL_USART_GetLINBrkDetectionLen
- Parameters:
-
USARTx USART Instance
- Return values:
-
Returned value can be one of the following values: - LL_USART_LINBREAK_DETECT_10B
- LL_USART_LINBREAK_DETECT_11B
Definition at line 2059 of file stm32l4xx_ll_usart.h.
__STATIC_INLINE uint32_t LL_USART_IsEnabledLIN | ( | USART_TypeDef * | USARTx ) |
Indicate if LIN mode is enabled.
- Note:
- Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not LIN feature is supported by the USARTx instance. CR2 LINEN LL_USART_IsEnabledLIN
- Parameters:
-
USARTx USART Instance
- Return values:
-
State of bit (1 or 0).
Definition at line 2098 of file stm32l4xx_ll_usart.h.
__STATIC_INLINE void LL_USART_SetLINBrkDetectionLen | ( | USART_TypeDef * | USARTx, |
uint32_t | LINBDLength | ||
) |
Set LIN Break Detection Length.
- Note:
- Macro IS_UART_LIN_INSTANCE(USARTx) can be used to check whether or not LIN feature is supported by the USARTx instance. CR2 LBDL LL_USART_SetLINBrkDetectionLen
- Parameters:
-
USARTx USART Instance LINBDLength This parameter can be one of the following values: - LL_USART_LINBREAK_DETECT_10B
- LL_USART_LINBREAK_DETECT_11B
- Return values:
-
None
Definition at line 2044 of file stm32l4xx_ll_usart.h.
Generated on Tue Jul 12 2022 17:38:59 by
