G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
USART Private Macros

Macros

#define IS_DDL_USART_BAUDRATE(__BAUDRATE__)
#define IS_DDL_USART_BR_MIN(__VALUE__)
#define IS_DDL_USART_DIRECTION(__VALUE__)
#define IS_DDL_USART_PARITY(__VALUE__)
#define IS_DDL_USART_DATAWIDTH(__VALUE__)
#define IS_DDL_USART_OVERSAMPLING(__VALUE__)
#define IS_DDL_USART_LASTBITCLKOUTPUT(__VALUE__)
#define IS_DDL_USART_CLOCKPHASE(__VALUE__)
#define IS_DDL_USART_CLOCKPOLARITY(__VALUE__)
#define IS_DDL_USART_CLOCKOUTPUT(__VALUE__)
#define IS_DDL_USART_STOPBITS(__VALUE__)
#define IS_DDL_USART_HWCONTROL(__VALUE__)

Detailed Description

Macro Definition Documentation

◆ IS_DDL_USART_BAUDRATE

#define IS_DDL_USART_BAUDRATE ( __BAUDRATE__)
Value:
((__BAUDRATE__) <= 12500000U)

Definition at line 84 of file g32r4xx_ddl_usart.c.

◆ IS_DDL_USART_BR_MIN

#define IS_DDL_USART_BR_MIN ( __VALUE__)
Value:
((__VALUE__) >= 16U)

Definition at line 87 of file g32r4xx_ddl_usart.c.

◆ IS_DDL_USART_CLOCKOUTPUT

#define IS_DDL_USART_CLOCKOUTPUT ( __VALUE__)
Value:
(((__VALUE__) == DDL_USART_CLOCK_DISABLE) \
|| ((__VALUE__) == DDL_USART_CLOCK_ENABLE))
#define DDL_USART_CLOCK_ENABLE
#define DDL_USART_CLOCK_DISABLE

Definition at line 113 of file g32r4xx_ddl_usart.c.

◆ IS_DDL_USART_CLOCKPHASE

#define IS_DDL_USART_CLOCKPHASE ( __VALUE__)
Value:
(((__VALUE__) == DDL_USART_PHASE_1EDGE) \
|| ((__VALUE__) == DDL_USART_PHASE_2EDGE))
#define DDL_USART_PHASE_1EDGE
#define DDL_USART_PHASE_2EDGE

Definition at line 107 of file g32r4xx_ddl_usart.c.

◆ IS_DDL_USART_CLOCKPOLARITY

#define IS_DDL_USART_CLOCKPOLARITY ( __VALUE__)
Value:
(((__VALUE__) == DDL_USART_POLARITY_LOW) \
|| ((__VALUE__) == DDL_USART_POLARITY_HIGH))
#define DDL_USART_POLARITY_LOW
#define DDL_USART_POLARITY_HIGH

Definition at line 110 of file g32r4xx_ddl_usart.c.

◆ IS_DDL_USART_DATAWIDTH

#define IS_DDL_USART_DATAWIDTH ( __VALUE__)
Value:
(((__VALUE__) == DDL_USART_DATAWIDTH_8B) \
|| ((__VALUE__) == DDL_USART_DATAWIDTH_9B))
#define DDL_USART_DATAWIDTH_9B
#define DDL_USART_DATAWIDTH_8B

Definition at line 98 of file g32r4xx_ddl_usart.c.

◆ IS_DDL_USART_DIRECTION

#define IS_DDL_USART_DIRECTION ( __VALUE__)
Value:
(((__VALUE__) == DDL_USART_DIRECTION_NONE) \
|| ((__VALUE__) == DDL_USART_DIRECTION_RX) \
|| ((__VALUE__) == DDL_USART_DIRECTION_TX) \
|| ((__VALUE__) == DDL_USART_DIRECTION_TX_RX))
#define DDL_USART_DIRECTION_RX
#define DDL_USART_DIRECTION_TX_RX
#define DDL_USART_DIRECTION_TX
#define DDL_USART_DIRECTION_NONE

Definition at line 89 of file g32r4xx_ddl_usart.c.

◆ IS_DDL_USART_HWCONTROL

#define IS_DDL_USART_HWCONTROL ( __VALUE__)
Value:
(((__VALUE__) == DDL_USART_HWCONTROL_NONE) \
|| ((__VALUE__) == DDL_USART_HWCONTROL_RTS) \
|| ((__VALUE__) == DDL_USART_HWCONTROL_CTS) \
|| ((__VALUE__) == DDL_USART_HWCONTROL_RTS_CTS))
#define DDL_USART_HWCONTROL_CTS
#define DDL_USART_HWCONTROL_NONE
#define DDL_USART_HWCONTROL_RTS
#define DDL_USART_HWCONTROL_RTS_CTS

Definition at line 121 of file g32r4xx_ddl_usart.c.

◆ IS_DDL_USART_LASTBITCLKOUTPUT

#define IS_DDL_USART_LASTBITCLKOUTPUT ( __VALUE__)
Value:
|| ((__VALUE__) == DDL_USART_LASTCLKPULSE_OUTPUT))
#define DDL_USART_LASTCLKPULSE_OUTPUT
#define DDL_USART_LASTCLKPULSE_NO_OUTPUT

Definition at line 104 of file g32r4xx_ddl_usart.c.

◆ IS_DDL_USART_OVERSAMPLING

#define IS_DDL_USART_OVERSAMPLING ( __VALUE__)
Value:
(((__VALUE__) == DDL_USART_OVERSAMPLING_16) \
|| ((__VALUE__) == DDL_USART_OVERSAMPLING_8))
#define DDL_USART_OVERSAMPLING_16
#define DDL_USART_OVERSAMPLING_8

Definition at line 101 of file g32r4xx_ddl_usart.c.

◆ IS_DDL_USART_PARITY

#define IS_DDL_USART_PARITY ( __VALUE__)
Value:
(((__VALUE__) == DDL_USART_PARITY_NONE) \
|| ((__VALUE__) == DDL_USART_PARITY_EVEN) \
|| ((__VALUE__) == DDL_USART_PARITY_ODD))
#define DDL_USART_PARITY_ODD
#define DDL_USART_PARITY_EVEN
#define DDL_USART_PARITY_NONE

Definition at line 94 of file g32r4xx_ddl_usart.c.

◆ IS_DDL_USART_STOPBITS

#define IS_DDL_USART_STOPBITS ( __VALUE__)
Value:
(((__VALUE__) == DDL_USART_STOPBITS_0_5) \
|| ((__VALUE__) == DDL_USART_STOPBITS_1) \
|| ((__VALUE__) == DDL_USART_STOPBITS_1_5) \
|| ((__VALUE__) == DDL_USART_STOPBITS_2))
#define DDL_USART_STOPBITS_1
#define DDL_USART_STOPBITS_2
#define DDL_USART_STOPBITS_1_5
#define DDL_USART_STOPBITS_0_5

Definition at line 116 of file g32r4xx_ddl_usart.c.