G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
Configuration functions related to LIN feature

Functions

__STATIC_INLINE void DDL_USART_SetLINBrkDetectionLen (USART_TypeDef *USARTx, uint32_t LINBDLength)
 Set LIN Break Detection Length.
__STATIC_INLINE uint32_t DDL_USART_GetLINBrkDetectionLen (USART_TypeDef *USARTx)
 Return LIN Break Detection Length.
__STATIC_INLINE void DDL_USART_EnableLIN (USART_TypeDef *USARTx)
 Enable LIN mode.
__STATIC_INLINE void DDL_USART_DisableLIN (USART_TypeDef *USARTx)
 Disable LIN mode.
__STATIC_INLINE uint32_t DDL_USART_IsEnabledLIN (USART_TypeDef *USARTx)
 Indicate if LIN mode is enabled.

Detailed Description

Function Documentation

◆ DDL_USART_DisableLIN()

__STATIC_INLINE void DDL_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.
Parameters
USARTxUSART Instance
Return values
None

Definition at line 1467 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_EnableLIN()

__STATIC_INLINE void DDL_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.
Parameters
USARTxUSART Instance
Return values
None

Definition at line 1455 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_GetLINBrkDetectionLen()

__STATIC_INLINE uint32_t DDL_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.
Parameters
USARTxUSART Instance
Return values
Returnedvalue can be one of the following values:

Definition at line 1443 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_IsEnabledLIN()

__STATIC_INLINE uint32_t DDL_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.
Parameters
USARTxUSART Instance
Return values
Stateof bit (1 or 0).

Definition at line 1479 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_SetLINBrkDetectionLen()

__STATIC_INLINE void DDL_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.
Parameters
USARTxUSART Instance
LINBDLengthThis parameter can be one of the following values:
Return values
None

Definition at line 1429 of file g32r4xx_ddl_usart.h.