G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference

Functions

__STATIC_INLINE void DDL_USART_EnableIT_IDLE (USART_TypeDef *USARTx)
 Enable IDLE Interrupt.
__STATIC_INLINE void DDL_USART_DisableIT_IDLE (USART_TypeDef *USARTx)
 Disable IDLE Interrupt.
__STATIC_INLINE uint32_t DDL_USART_IsEnabledIT_IDLE (USART_TypeDef *USARTx)
 Check if the USART IDLE Interrupt source is enabled or disabled.
__STATIC_INLINE void DDL_USART_EnableIT_RXNE (USART_TypeDef *USARTx)
 Enable RX Not Empty Interrupt.
__STATIC_INLINE void DDL_USART_DisableIT_RXNE (USART_TypeDef *USARTx)
 Disable RX Not Empty Interrupt.
__STATIC_INLINE uint32_t DDL_USART_IsEnabledIT_RXNE (USART_TypeDef *USARTx)
 Check if the USART RX Not Empty Interrupt is enabled or disabled.
__STATIC_INLINE void DDL_USART_EnableIT_TC (USART_TypeDef *USARTx)
 Enable Transmission Complete Interrupt.
__STATIC_INLINE void DDL_USART_DisableIT_TC (USART_TypeDef *USARTx)
 Disable Transmission Complete Interrupt.
__STATIC_INLINE uint32_t DDL_USART_IsEnabledIT_TC (USART_TypeDef *USARTx)
 Check if the USART Transmission Complete Interrupt is enabled or disabled.
__STATIC_INLINE void DDL_USART_EnableIT_TXE (USART_TypeDef *USARTx)
 Enable TX Empty Interrupt.
__STATIC_INLINE void DDL_USART_DisableIT_TXE (USART_TypeDef *USARTx)
 Disable TX Empty Interrupt.
__STATIC_INLINE uint32_t DDL_USART_IsEnabledIT_TXE (USART_TypeDef *USARTx)
 Check if the USART TX Empty Interrupt is enabled or disabled.
__STATIC_INLINE void DDL_USART_EnableIT_PE (USART_TypeDef *USARTx)
 Enable Parity Error Interrupt.
__STATIC_INLINE void DDL_USART_DisableIT_PE (USART_TypeDef *USARTx)
 Disable Parity Error Interrupt.
__STATIC_INLINE uint32_t DDL_USART_IsEnabledIT_PE (USART_TypeDef *USARTx)
 Check if the USART Parity Error Interrupt is enabled or disabled.
__STATIC_INLINE void DDL_USART_EnableIT_LBD (USART_TypeDef *USARTx)
 Enable LIN Break Detection Interrupt.
__STATIC_INLINE void DDL_USART_DisableIT_LBD (USART_TypeDef *USARTx)
 Disable LIN Break Detection Interrupt.
__STATIC_INLINE uint32_t DDL_USART_IsEnabledIT_LBD (USART_TypeDef *USARTx)
 Check if the USART LIN Break Detection Interrupt is enabled or disabled.
__STATIC_INLINE void DDL_USART_EnableIT_ERROR (USART_TypeDef *USARTx)
 Enable Error Interrupt.
__STATIC_INLINE void DDL_USART_DisableIT_ERROR (USART_TypeDef *USARTx)
 Disable Error Interrupt.
__STATIC_INLINE uint32_t DDL_USART_IsEnabledIT_ERROR (USART_TypeDef *USARTx)
 Check if the USART Error Interrupt is enabled or disabled.
__STATIC_INLINE void DDL_USART_EnableIT_CTS (USART_TypeDef *USARTx)
 Enable CTS Interrupt.
__STATIC_INLINE void DDL_USART_DisableIT_CTS (USART_TypeDef *USARTx)
 Disable CTS Interrupt.
__STATIC_INLINE uint32_t DDL_USART_IsEnabledIT_CTS (USART_TypeDef *USARTx)
 Check if the USART CTS Interrupt is enabled or disabled.

Detailed Description

Function Documentation

◆ DDL_USART_DisableIT_CTS()

__STATIC_INLINE void DDL_USART_DisableIT_CTS ( USART_TypeDef * USARTx)

Disable CTS Interrupt.

Note
Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not Hardware Flow control feature is supported by the USARTx instance.
Parameters
USARTxUSART Instance
Return values
None

Definition at line 2241 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_DisableIT_ERROR()

__STATIC_INLINE void DDL_USART_DisableIT_ERROR ( USART_TypeDef * USARTx)

Disable Error Interrupt.

Note
When set, Error Interrupt Enable Bit is enabling interrupt generation in case of a framing error, overrun error or noise flag (FE=1 or ORE=1 or NF=1 in the USARTx_SR register). 0: Interrupt is inhibited 1: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the USARTx_SR register.
Parameters
USARTxUSART Instance
Return values
None

Definition at line 2207 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_DisableIT_IDLE()

__STATIC_INLINE void DDL_USART_DisableIT_IDLE ( USART_TypeDef * USARTx)

Disable IDLE Interrupt.

Parameters
USARTxUSART Instance
Return values
None

Definition at line 2013 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_DisableIT_LBD()

__STATIC_INLINE void DDL_USART_DisableIT_LBD ( USART_TypeDef * USARTx)

Disable LIN Break Detection Interrupt.

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 2167 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_DisableIT_PE()

__STATIC_INLINE void DDL_USART_DisableIT_PE ( USART_TypeDef * USARTx)

Disable Parity Error Interrupt.

Parameters
USARTxUSART Instance
Return values
None

Definition at line 2133 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_DisableIT_RXNE()

__STATIC_INLINE void DDL_USART_DisableIT_RXNE ( USART_TypeDef * USARTx)

Disable RX Not Empty Interrupt.

Parameters
USARTxUSART Instance
Return values
None

Definition at line 2043 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_DisableIT_TC()

__STATIC_INLINE void DDL_USART_DisableIT_TC ( USART_TypeDef * USARTx)

Disable Transmission Complete Interrupt.

Parameters
USARTxUSART Instance
Return values
None

Definition at line 2073 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_DisableIT_TXE()

__STATIC_INLINE void DDL_USART_DisableIT_TXE ( USART_TypeDef * USARTx)

Disable TX Empty Interrupt.

Parameters
USARTxUSART Instance
Return values
None

Definition at line 2103 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_EnableIT_CTS()

__STATIC_INLINE void DDL_USART_EnableIT_CTS ( USART_TypeDef * USARTx)

Enable CTS Interrupt.

Note
Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not Hardware Flow control feature is supported by the USARTx instance.
Parameters
USARTxUSART Instance
Return values
None

Definition at line 2229 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_EnableIT_ERROR()

__STATIC_INLINE void DDL_USART_EnableIT_ERROR ( USART_TypeDef * USARTx)

Enable Error Interrupt.

Note
When set, Error Interrupt Enable Bit is enabling interrupt generation in case of a framing error, overrun error or noise flag (FE=1 or ORE=1 or NF=1 in the USARTx_SR register). 0: Interrupt is inhibited 1: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the USARTx_SR register.
Parameters
USARTxUSART Instance
Return values
None

Definition at line 2193 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_EnableIT_IDLE()

__STATIC_INLINE void DDL_USART_EnableIT_IDLE ( USART_TypeDef * USARTx)

Enable IDLE Interrupt.

Parameters
USARTxUSART Instance
Return values
None

Definition at line 2003 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_EnableIT_LBD()

__STATIC_INLINE void DDL_USART_EnableIT_LBD ( USART_TypeDef * USARTx)

Enable LIN Break Detection Interrupt.

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 2155 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_EnableIT_PE()

__STATIC_INLINE void DDL_USART_EnableIT_PE ( USART_TypeDef * USARTx)

Enable Parity Error Interrupt.

Parameters
USARTxUSART Instance
Return values
None

Definition at line 2123 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_EnableIT_RXNE()

__STATIC_INLINE void DDL_USART_EnableIT_RXNE ( USART_TypeDef * USARTx)

Enable RX Not Empty Interrupt.

Parameters
USARTxUSART Instance
Return values
None

Definition at line 2033 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_EnableIT_TC()

__STATIC_INLINE void DDL_USART_EnableIT_TC ( USART_TypeDef * USARTx)

Enable Transmission Complete Interrupt.

Parameters
USARTxUSART Instance
Return values
None

Definition at line 2063 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_EnableIT_TXE()

__STATIC_INLINE void DDL_USART_EnableIT_TXE ( USART_TypeDef * USARTx)

Enable TX Empty Interrupt.

Parameters
USARTxUSART Instance
Return values
None

Definition at line 2093 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_IsEnabledIT_CTS()

__STATIC_INLINE uint32_t DDL_USART_IsEnabledIT_CTS ( USART_TypeDef * USARTx)

Check if the USART CTS Interrupt is enabled or disabled.

Note
Macro IS_UART_HWFLOW_INSTANCE(USARTx) can be used to check whether or not Hardware Flow control feature is supported by the USARTx instance.
Parameters
USARTxUSART Instance
Return values
Stateof bit (1 or 0).

Definition at line 2253 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_IsEnabledIT_ERROR()

__STATIC_INLINE uint32_t DDL_USART_IsEnabledIT_ERROR ( USART_TypeDef * USARTx)

Check if the USART Error Interrupt is enabled or disabled.

Parameters
USARTxUSART Instance
Return values
Stateof bit (1 or 0).

Definition at line 2217 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_IsEnabledIT_IDLE()

__STATIC_INLINE uint32_t DDL_USART_IsEnabledIT_IDLE ( USART_TypeDef * USARTx)

Check if the USART IDLE Interrupt source is enabled or disabled.

Parameters
USARTxUSART Instance
Return values
Stateof bit (1 or 0).

Definition at line 2023 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_IsEnabledIT_LBD()

__STATIC_INLINE uint32_t DDL_USART_IsEnabledIT_LBD ( USART_TypeDef * USARTx)

Check if the USART LIN Break Detection Interrupt is enabled or disabled.

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 2179 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_IsEnabledIT_PE()

__STATIC_INLINE uint32_t DDL_USART_IsEnabledIT_PE ( USART_TypeDef * USARTx)

Check if the USART Parity Error Interrupt is enabled or disabled.

Parameters
USARTxUSART Instance
Return values
Stateof bit (1 or 0).

Definition at line 2143 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_IsEnabledIT_RXNE()

__STATIC_INLINE uint32_t DDL_USART_IsEnabledIT_RXNE ( USART_TypeDef * USARTx)

Check if the USART RX Not Empty Interrupt is enabled or disabled.

Parameters
USARTxUSART Instance
Return values
Stateof bit (1 or 0).

Definition at line 2053 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_IsEnabledIT_TC()

__STATIC_INLINE uint32_t DDL_USART_IsEnabledIT_TC ( USART_TypeDef * USARTx)

Check if the USART Transmission Complete Interrupt is enabled or disabled.

Parameters
USARTxUSART Instance
Return values
Stateof bit (1 or 0).

Definition at line 2083 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_IsEnabledIT_TXE()

__STATIC_INLINE uint32_t DDL_USART_IsEnabledIT_TXE ( USART_TypeDef * USARTx)

Check if the USART TX Empty Interrupt is enabled or disabled.

Parameters
USARTxUSART Instance
Return values
Stateof bit (1 or 0).

Definition at line 2113 of file g32r4xx_ddl_usart.h.