STM32F4xx_HAL_Driver  1.8.3
Configuration functions related to LIN feature
+ Collaboration diagram for Configuration functions related to LIN feature:

Functions

__STATIC_INLINE void LL_USART_SetLINBrkDetectionLen (USART_TypeDef *USARTx, uint32_t LINBDLength)
 Set LIN Break Detection Length. More...
 
__STATIC_INLINE uint32_t LL_USART_GetLINBrkDetectionLen (const USART_TypeDef *USARTx)
 Return LIN Break Detection Length. More...
 
__STATIC_INLINE void LL_USART_EnableLIN (USART_TypeDef *USARTx)
 Enable LIN mode. More...
 
__STATIC_INLINE void LL_USART_DisableLIN (USART_TypeDef *USARTx)
 Disable LIN mode. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledLIN (const USART_TypeDef *USARTx)
 Indicate if LIN mode is enabled. More...
 

Detailed Description

Function Documentation

◆ LL_USART_DisableLIN()

__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. @rmtoll CR2 LINEN LL_USART_DisableLIN
Parameters
USARTxUSART Instance
Return values
None

Definition at line 1428 of file stm32f4xx_ll_usart.h.

◆ LL_USART_EnableLIN()

__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. @rmtoll CR2 LINEN LL_USART_EnableLIN
Parameters
USARTxUSART Instance
Return values
None

Definition at line 1415 of file stm32f4xx_ll_usart.h.

◆ LL_USART_GetLINBrkDetectionLen()

__STATIC_INLINE uint32_t LL_USART_GetLINBrkDetectionLen ( const 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. @rmtoll CR2 LBDL LL_USART_GetLINBrkDetectionLen
Parameters
USARTxUSART Instance
Return values
Returnedvalue can be one of the following values:
  • LL_USART_LINBREAK_DETECT_10B
  • LL_USART_LINBREAK_DETECT_11B

Definition at line 1402 of file stm32f4xx_ll_usart.h.

◆ LL_USART_IsEnabledLIN()

__STATIC_INLINE uint32_t LL_USART_IsEnabledLIN ( const 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. @rmtoll CR2 LINEN LL_USART_IsEnabledLIN
Parameters
USARTxUSART Instance
Return values
Stateof bit (1 or 0).

Definition at line 1441 of file stm32f4xx_ll_usart.h.

◆ LL_USART_SetLINBrkDetectionLen()

__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. @rmtoll CR2 LBDL LL_USART_SetLINBrkDetectionLen
Parameters
USARTxUSART Instance
LINBDLengthThis parameter can be one of the following values:
  • LL_USART_LINBREAK_DETECT_10B
  • LL_USART_LINBREAK_DETECT_11B
Return values
None

Definition at line 1387 of file stm32f4xx_ll_usart.h.