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

Macros

#define IS_DDL_COMP_INPUT_PLUS(__COMP_INSTANCE__, __INPUT_PLUS__)
#define IS_DDL_COMP_INPUT_MINUS(__COMP_INSTANCE__, __INPUT_MINUS__)
#define IS_DDL_COMP_OUTPUT_POLARITY(__POLARITY__)
#define IS_DDL_COMP_OUTPUT_BLANK(__BLANK__)

Detailed Description

Macro Definition Documentation

◆ IS_DDL_COMP_INPUT_MINUS

#define IS_DDL_COMP_INPUT_MINUS ( __COMP_INSTANCE__,
__INPUT_MINUS__ )
Value:
( ((__COMP_INSTANCE__) < COMP4) ? \
( ((__INPUT_MINUS__) == DDL_COMP_INPUT_MINUS_INN0) || \
((__INPUT_MINUS__) == DDL_COMP_INPUT_MINUS_DAC1) ) \
: \
( ((__INPUT_MINUS__) == DDL_COMP_INPUT_MINUS_INN0) || \
((__INPUT_MINUS__) == DDL_COMP_INPUT_MINUS_INN1) || \
((__INPUT_MINUS__) == DDL_COMP_INPUT_MINUS_DAC1) ) \
)
#define DDL_COMP_INPUT_MINUS_INN0
#define DDL_COMP_INPUT_MINUS_DAC1
#define DDL_COMP_INPUT_MINUS_INN1

Definition at line 86 of file g32r4xx_ddl_comp.c.

◆ IS_DDL_COMP_INPUT_PLUS

#define IS_DDL_COMP_INPUT_PLUS ( __COMP_INSTANCE__,
__INPUT_PLUS__ )
Value:
( ((__COMP_INSTANCE__) < COMP4) ? \
( ((__INPUT_PLUS__) == DDL_COMP_INPUT_PLUS_INP0) || \
((__INPUT_PLUS__) == DDL_COMP_INPUT_PLUS_DAC1)) \
: \
( ((__INPUT_PLUS__) == DDL_COMP_INPUT_PLUS_INP0) || \
((__INPUT_PLUS__) == DDL_COMP_INPUT_PLUS_INP1) || \
((__INPUT_PLUS__) == DDL_COMP_INPUT_PLUS_DAC1)) \
)
#define DDL_COMP_INPUT_PLUS_INP1
#define DDL_COMP_INPUT_PLUS_INP0
#define DDL_COMP_INPUT_PLUS_DAC1

Definition at line 76 of file g32r4xx_ddl_comp.c.

◆ IS_DDL_COMP_OUTPUT_BLANK

#define IS_DDL_COMP_OUTPUT_BLANK ( __BLANK__)
Value:
( ((__BLANK__) == DDL_COMP_BLANK_0) || \
((__BLANK__) == DDL_COMP_BLANK_1) || \
((__BLANK__) == DDL_COMP_BLANK_2) || \
((__BLANK__) == DDL_COMP_BLANK_3) || \
((__BLANK__) == DDL_COMP_BLANK_4) || \
((__BLANK__) == DDL_COMP_BLANK_6) || \
((__BLANK__) == DDL_COMP_BLANK_7) \
)
#define DDL_COMP_BLANK_4
#define DDL_COMP_BLANK_2
#define DDL_COMP_BLANK_0
#define DDL_COMP_BLANK_6
#define DDL_COMP_BLANK_7
#define DDL_COMP_BLANK_3
#define DDL_COMP_BLANK_1

Definition at line 101 of file g32r4xx_ddl_comp.c.

◆ IS_DDL_COMP_OUTPUT_POLARITY

#define IS_DDL_COMP_OUTPUT_POLARITY ( __POLARITY__)
Value:
( ((__POLARITY__) == DDL_COMP_OUTPUTPOL_NONINVERTED) || \
((__POLARITY__) == DDL_COMP_OUTPUTPOL_INVERTED) \
)
#define DDL_COMP_OUTPUTPOL_INVERTED
#define DDL_COMP_OUTPUTPOL_NONINVERTED

Definition at line 96 of file g32r4xx_ddl_comp.c.