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

Functions

__STATIC_INLINE void DDL_USART_EnableHalfDuplex (USART_TypeDef *USARTx)
 Enable Single Wire Half-Duplex mode.
__STATIC_INLINE void DDL_USART_DisableHalfDuplex (USART_TypeDef *USARTx)
 Disable Single Wire Half-Duplex mode.
__STATIC_INLINE uint32_t DDL_USART_IsEnabledHalfDuplex (USART_TypeDef *USARTx)
 Indicate if Single Wire Half-Duplex mode is enabled.

Detailed Description

Function Documentation

◆ DDL_USART_DisableHalfDuplex()

__STATIC_INLINE void DDL_USART_DisableHalfDuplex ( USART_TypeDef * USARTx)

Disable Single Wire Half-Duplex mode.

Note
Macro IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not Half-Duplex mode is supported by the USARTx instance.
Parameters
USARTxUSART Instance
Return values
None

Definition at line 1394 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_EnableHalfDuplex()

__STATIC_INLINE void DDL_USART_EnableHalfDuplex ( USART_TypeDef * USARTx)

Enable Single Wire Half-Duplex mode.

Note
Macro IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not Half-Duplex mode is supported by the USARTx instance.
Parameters
USARTxUSART Instance
Return values
None

Definition at line 1382 of file g32r4xx_ddl_usart.h.

◆ DDL_USART_IsEnabledHalfDuplex()

__STATIC_INLINE uint32_t DDL_USART_IsEnabledHalfDuplex ( USART_TypeDef * USARTx)

Indicate if Single Wire Half-Duplex mode is enabled.

Note
Macro IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not Half-Duplex mode is supported by the USARTx instance.
Parameters
USARTxUSART Instance
Return values
Stateof bit (1 or 0).

Definition at line 1406 of file g32r4xx_ddl_usart.h.