| NUC472_NUC442_BSP V3.04.000 The Board Support Package for NUC472/NUC442

Modules | Macros
EADC Exported Constants
NUC472/NUC442 Device Driver » EADC Driver
Collaboration diagram for EADC Exported Constants:

## Modules
| EADC Exported Functions

## Macros
#define | EADC0_SAMPLE_MODULE0
#define | EADC0_SAMPLE_MODULE1
#define | EADC0_SAMPLE_MODULE2
#define | EADC0_SAMPLE_MODULE3
#define | EADC0_SAMPLE_MODULE4
#define | EADC0_SAMPLE_MODULE5
#define | EADC0_SAMPLE_MODULE6
#define | EADC0_SAMPLE_MODULE7
#define | EADC1_SAMPLE_MODULE0
#define | EADC1_SAMPLE_MODULE1
#define | EADC1_SAMPLE_MODULE2
#define | EADC1_SAMPLE_MODULE3
#define | EADC1_SAMPLE_MODULE4
#define | EADC1_SAMPLE_MODULE5
#define | EADC1_SAMPLE_MODULE6
#define | EADC1_SAMPLE_MODULE7
#define | CMP_EADC0_SAMPLE_MODULE0
#define | CMP_EADC0_SAMPLE_MODULE1
#define | CMP_EADC0_SAMPLE_MODULE2
#define | CMP_EADC0_SAMPLE_MODULE3
#define | CMP_EADC1_SAMPLE_MODULE0
#define | CMP_EADC1_SAMPLE_MODULE1
#define | CMP_EADC1_SAMPLE_MODULE2
#define | CMP_EADC1_SAMPLE_MODULE3
#define | EADC_SCTL_CHSEL(x)
#define | EADC_SCTL_TRGDLYDIV(x)
#define | EADC_SCTL_TRGDLYCNT(x)
#define | EADC_SOFTWARE_TRIGGER
#define | EADC_STADC_TRIGGER
#define | EADC_ADINT0_TRIGGER
#define | EADC_ADINT1_TRIGGER
#define | EADC_TIMER0_TRIGGER
#define | EADC_TIMER1_TRIGGER
#define | EADC_TIMER2_TRIGGER
#define | EADC_TIMER3_TRIGGER
#define | EADC_EPWM0CH0_TRIGGER
#define | EADC_EPWM0CH2_TRIGGER
#define | EADC_EPWM0CH4_TRIGGER
#define | EADC_EPWM1CH0_TRIGGER
#define | EADC_EPWM1CH2_TRIGGER
#define | EADC_EPWM1CH4_TRIGGER
#define | EADC_PWM0CH0_TRIGGER
#define | EADC_PWM0CH1_TRIGGER
#define | EADC_SPCTL_TRGDLYDIV_DIVIDER_1
#define | EADC_SPCTL_TRGDLYDIV_DIVIDER_2
#define | EADC_SPCTL_TRGDLYDIV_DIVIDER_4
#define | EADC_SPCTL_TRGDLYDIV_DIVIDER_16
#define | EADC_CMP_CMPCOND_LESS_THAN
#define | EADC_CMP_CMPCOND_GREATER_OR_EQUAL
#define | EADC_CMP_ADCMPIE_ENABLE
#define | EADC_CMP_ADCMPIE_DISABLE
#define | EADC0_TRIGGEREN0
#define | EADC0_TRIGGEREN1
#define | EADC0_TRIGGEREN2
#define | EADC0_TRIGGEREN3
#define | EADC1_TRIGGEREN0
#define | EADC1_TRIGGEREN1
#define | EADC1_TRIGGEREN2
#define | EADC1_TRIGGEREN3
#define | EADC0_CH0
#define | EADC0_CH1
#define | EADC0_CH2
#define | EADC0_CH3
#define | EADC0_CH4
#define | EADC0_CH5
#define | EADC0_CH6
#define | EADC0_CH7
#define | EADC0_VBG
#define | EADC0_VTEMP
#define | EADC0_AVSS
#define | EADC0_OP0
#define | EADC1_CH0
#define | EADC1_CH1
#define | EADC1_CH2
#define | EADC1_CH3
#define | EADC1_CH4
#define | EADC1_CH5
#define | EADC1_CH6
#define | EADC1_CH7
#define | EADC1_OP1

## Detailed Description

## Macro Definition Documentation

## ◆ CMP_EADC0_SAMPLE_MODULE0

#define CMP_EADC0_SAMPLE_MODULE0

Compare EADC0 SAMPLE module 0

Definition at line 56 of file eadc.h.

## ◆ CMP_EADC0_SAMPLE_MODULE1

#define CMP_EADC0_SAMPLE_MODULE1

Compare EADC0 SAMPLE module 1

Definition at line 57 of file eadc.h.

## ◆ CMP_EADC0_SAMPLE_MODULE2

#define CMP_EADC0_SAMPLE_MODULE2

Compare EADC0 SAMPLE module 2

Definition at line 58 of file eadc.h.

## ◆ CMP_EADC0_SAMPLE_MODULE3

#define CMP_EADC0_SAMPLE_MODULE3

Compare EADC0 SAMPLE module 3

Definition at line 59 of file eadc.h.

## ◆ CMP_EADC1_SAMPLE_MODULE0

#define CMP_EADC1_SAMPLE_MODULE0

Compare EADC1 SAMPLE module 0

Definition at line 60 of file eadc.h.

## ◆ CMP_EADC1_SAMPLE_MODULE1

#define CMP_EADC1_SAMPLE_MODULE1

Compare EADC1 SAMPLE module 1

Definition at line 61 of file eadc.h.

## ◆ CMP_EADC1_SAMPLE_MODULE2

#define CMP_EADC1_SAMPLE_MODULE2

Compare EADC1 SAMPLE module 2

Definition at line 62 of file eadc.h.

## ◆ CMP_EADC1_SAMPLE_MODULE3

#define CMP_EADC1_SAMPLE_MODULE3

Compare EADC1 SAMPLE module 3

Definition at line 63 of file eadc.h.

## ◆ EADC0_AVSS

#define EADC0_AVSS

Select EADC0 AVSS for EADC0 SAMPLE Module

Definition at line 128 of file eadc.h.

## ◆ EADC0_CH0

#define EADC0_CH0

Select EADC0 channel 0 for EADC0 SAMPLE Module

Definition at line 118 of file eadc.h.

## ◆ EADC0_CH1

#define EADC0_CH1

Select EADC0 channel 1 for EADC0 SAMPLE Module

Definition at line 119 of file eadc.h.

## ◆ EADC0_CH2

#define EADC0_CH2

Select EADC0 channel 2 for EADC0 SAMPLE Module

Definition at line 120 of file eadc.h.

## ◆ EADC0_CH3

#define EADC0_CH3

Select EADC0 channel 3 for EADC0 SAMPLE Module

Definition at line 121 of file eadc.h.

## ◆ EADC0_CH4

#define EADC0_CH4

Select EADC0 channel 4 for EADC0 SAMPLE Module

Definition at line 122 of file eadc.h.

## ◆ EADC0_CH5

#define EADC0_CH5

Select EADC0 channel 5 for EADC0 SAMPLE Module

Definition at line 123 of file eadc.h.

## ◆ EADC0_CH6

#define EADC0_CH6

Select EADC0 channel 6 for EADC0 SAMPLE Module

Definition at line 124 of file eadc.h.

## ◆ EADC0_CH7

#define EADC0_CH7

Select EADC0 channel 7 for EADC0 SAMPLE Module

Definition at line 125 of file eadc.h.

## ◆ EADC0_OP0

#define EADC0_OP0

Select EADC0 OP0 for EADC0 SAMPLE Module

Definition at line 129 of file eadc.h.

## ◆ EADC0_SAMPLE_MODULE0

#define EADC0_SAMPLE_MODULE0

EADC0 SAMPLE module 0

Definition at line 36 of file eadc.h.

## ◆ EADC0_SAMPLE_MODULE1

#define EADC0_SAMPLE_MODULE1

EADC0 SAMPLE module 1

Definition at line 37 of file eadc.h.

## ◆ EADC0_SAMPLE_MODULE2

#define EADC0_SAMPLE_MODULE2

EADC0 SAMPLE module 2

Definition at line 38 of file eadc.h.

## ◆ EADC0_SAMPLE_MODULE3

#define EADC0_SAMPLE_MODULE3

EADC0 SAMPLE module 3

Definition at line 39 of file eadc.h.

## ◆ EADC0_SAMPLE_MODULE4

#define EADC0_SAMPLE_MODULE4

EADC0 SAMPLE module 4

Definition at line 40 of file eadc.h.

## ◆ EADC0_SAMPLE_MODULE5

#define EADC0_SAMPLE_MODULE5

EADC0 SAMPLE module 5

Definition at line 41 of file eadc.h.

## ◆ EADC0_SAMPLE_MODULE6

#define EADC0_SAMPLE_MODULE6

EADC0 SAMPLE module 6

Definition at line 42 of file eadc.h.

## ◆ EADC0_SAMPLE_MODULE7

#define EADC0_SAMPLE_MODULE7

EADC0 SAMPLE module 7

Definition at line 43 of file eadc.h.

## ◆ EADC0_TRIGGEREN0

#define EADC0_TRIGGEREN0

A/D trigger condition for SAMPLE00

Definition at line 106 of file eadc.h.

## ◆ EADC0_TRIGGEREN1

#define EADC0_TRIGGEREN1

A/D trigger condition for SAMPLE01

Definition at line 107 of file eadc.h.

## ◆ EADC0_TRIGGEREN2

#define EADC0_TRIGGEREN2

A/D trigger condition for SAMPLE02

Definition at line 108 of file eadc.h.

## ◆ EADC0_TRIGGEREN3

#define EADC0_TRIGGEREN3

A/D trigger condition for SAMPLE03

Definition at line 109 of file eadc.h.

## ◆ EADC0_VBG

#define EADC0_VBG

Select EADC0 VBG for EADC0 SAMPLE Module

Definition at line 126 of file eadc.h.

## ◆ EADC0_VTEMP

#define EADC0_VTEMP

Select EADC0 VTEMP for EADC0 SAMPLE Module

Definition at line 127 of file eadc.h.

## ◆ EADC1_CH0

#define EADC1_CH0

Select EADC1 channel 0 for EADC1 SAMPLE Module

Definition at line 130 of file eadc.h.

## ◆ EADC1_CH1

#define EADC1_CH1

Select EADC1 channel 1 for EADC1 SAMPLE Module

Definition at line 131 of file eadc.h.

## ◆ EADC1_CH2

#define EADC1_CH2

Select EADC1 channel 2 for EADC1 SAMPLE Module

Definition at line 132 of file eadc.h.

## ◆ EADC1_CH3

#define EADC1_CH3

Select EADC1 channel 3 for EADC1 SAMPLE Module

Definition at line 133 of file eadc.h.

## ◆ EADC1_CH4

#define EADC1_CH4

Select EADC1 channel 4 for EADC1 SAMPLE Module

Definition at line 134 of file eadc.h.

## ◆ EADC1_CH5

#define EADC1_CH5

Select EADC1 channel 5 for EADC1 SAMPLE Module

Definition at line 135 of file eadc.h.

## ◆ EADC1_CH6

#define EADC1_CH6

Select EADC1 channel 6 for EADC1 SAMPLE Module

Definition at line 136 of file eadc.h.

## ◆ EADC1_CH7

#define EADC1_CH7

Select EADC1 channel 7 for EADC1 SAMPLE Module

Definition at line 137 of file eadc.h.

## ◆ EADC1_OP1

#define EADC1_OP1

Select EADC1 OP1 for EADC1 SAMPLE Module

Definition at line 138 of file eadc.h.

## ◆ EADC1_SAMPLE_MODULE0

#define EADC1_SAMPLE_MODULE0

EADC1 SAMPLE module 0

Definition at line 44 of file eadc.h.

## ◆ EADC1_SAMPLE_MODULE1

#define EADC1_SAMPLE_MODULE1

EADC1 SAMPLE module 1

Definition at line 45 of file eadc.h.

## ◆ EADC1_SAMPLE_MODULE2

#define EADC1_SAMPLE_MODULE2

EADC1 SAMPLE module 2

Definition at line 46 of file eadc.h.

## ◆ EADC1_SAMPLE_MODULE3

#define EADC1_SAMPLE_MODULE3

EADC1 SAMPLE module 3

Definition at line 47 of file eadc.h.

## ◆ EADC1_SAMPLE_MODULE4

#define EADC1_SAMPLE_MODULE4

EADC1 SAMPLE module 4

Definition at line 48 of file eadc.h.

## ◆ EADC1_SAMPLE_MODULE5

#define EADC1_SAMPLE_MODULE5

EADC1 SAMPLE module 5

Definition at line 49 of file eadc.h.

## ◆ EADC1_SAMPLE_MODULE6

#define EADC1_SAMPLE_MODULE6

EADC1 SAMPLE module 6

Definition at line 50 of file eadc.h.

## ◆ EADC1_SAMPLE_MODULE7

#define EADC1_SAMPLE_MODULE7

EADC1 SAMPLE module 7

Definition at line 51 of file eadc.h.

## ◆ EADC1_TRIGGEREN0

#define EADC1_TRIGGEREN0

A/D trigger condition for SAMPLE10

Definition at line 110 of file eadc.h.

## ◆ EADC1_TRIGGEREN1

#define EADC1_TRIGGEREN1

A/D trigger condition for SAMPLE11

Definition at line 111 of file eadc.h.

## ◆ EADC1_TRIGGEREN2

#define EADC1_TRIGGEREN2

A/D trigger condition for SAMPLE12

Definition at line 112 of file eadc.h.

## ◆ EADC1_TRIGGEREN3

#define EADC1_TRIGGEREN3

A/D trigger condition for SAMPLE13

Definition at line 113 of file eadc.h.

## ◆ EADC_ADINT0_TRIGGER

#define EADC_ADINT0_TRIGGER

EADC ADINT0 interrupt EOC pulse trigger

Definition at line 74 of file eadc.h.

## ◆ EADC_ADINT1_TRIGGER

#define EADC_ADINT1_TRIGGER

EADC ADINT1 interrupt EOC pulse trigger

Definition at line 75 of file eadc.h.

## ◆ EADC_CMP_ADCMPIE_DISABLE

#define EADC_CMP_ADCMPIE_DISABLE

A/D result compare interrupt disable

Definition at line 101 of file eadc.h.

## ◆ EADC_CMP_ADCMPIE_ENABLE

#define EADC_CMP_ADCMPIE_ENABLE

A/D result compare interrupt enable

Definition at line 100 of file eadc.h.

## ◆ EADC_CMP_CMPCOND_GREATER_OR_EQUAL

#define EADC_CMP_CMPCOND_GREATER_OR_EQUAL

The compare condition is "greater than or equal to"

Definition at line 99 of file eadc.h.

## ◆ EADC_CMP_CMPCOND_LESS_THAN

#define EADC_CMP_CMPCOND_LESS_THAN

The compare condition is "less than"

Definition at line 98 of file eadc.h.

## ◆ EADC_EPWM0CH0_TRIGGER

#define EADC_EPWM0CH0_TRIGGER

EPWM0CH0 trigger

Definition at line 80 of file eadc.h.

## ◆ EADC_EPWM0CH2_TRIGGER

#define EADC_EPWM0CH2_TRIGGER

EPWM0CH2 trigger

Definition at line 81 of file eadc.h.

## ◆ EADC_EPWM0CH4_TRIGGER

#define EADC_EPWM0CH4_TRIGGER

EPWM0CH4 trigger

Definition at line 82 of file eadc.h.

## ◆ EADC_EPWM1CH0_TRIGGER

#define EADC_EPWM1CH0_TRIGGER

EPWM1CH0 trigger

Definition at line 83 of file eadc.h.

## ◆ EADC_EPWM1CH2_TRIGGER

#define EADC_EPWM1CH2_TRIGGER

EPWM1CH2 trigger

Definition at line 84 of file eadc.h.

## ◆ EADC_EPWM1CH4_TRIGGER

#define EADC_EPWM1CH4_TRIGGER

EPWM1CH4 trigger

Definition at line 85 of file eadc.h.

## ◆ EADC_PWM0CH0_TRIGGER

#define EADC_PWM0CH0_TRIGGER

PWM0CH0 trigger

Definition at line 86 of file eadc.h.

## ◆ EADC_PWM0CH1_TRIGGER

#define EADC_PWM0CH1_TRIGGER

PWM0CH1 trigger

Definition at line 87 of file eadc.h.

## ◆ EADC_SCTL_CHSEL

#define EADC_SCTL_CHSEL | ( |  | x | ) |

A/D sample module channel selection

Definition at line 68 of file eadc.h.

## ◆ EADC_SCTL_TRGDLYCNT

#define EADC_SCTL_TRGDLYCNT | ( |  | x | ) |

A/D sample module start of conversion trigger delay time

Definition at line 70 of file eadc.h.

## ◆ EADC_SCTL_TRGDLYDIV

#define EADC_SCTL_TRGDLYDIV | ( |  | x | ) |

A/D sample module start of conversion trigger delay clock divider selection

Definition at line 69 of file eadc.h.

## ◆ EADC_SOFTWARE_TRIGGER

#define EADC_SOFTWARE_TRIGGER

Software trigger

Definition at line 72 of file eadc.h.

## ◆ EADC_SPCTL_TRGDLYDIV_DIVIDER_1

#define EADC_SPCTL_TRGDLYDIV_DIVIDER_1

Trigger delay clock frequency is ADC_CLK/1

Definition at line 89 of file eadc.h.

## ◆ EADC_SPCTL_TRGDLYDIV_DIVIDER_16

#define EADC_SPCTL_TRGDLYDIV_DIVIDER_16

Trigger delay clock frequency is ADC_CLK/16

Definition at line 92 of file eadc.h.

## ◆ EADC_SPCTL_TRGDLYDIV_DIVIDER_2

#define EADC_SPCTL_TRGDLYDIV_DIVIDER_2

Trigger delay clock frequency is ADC_CLK/2

Definition at line 90 of file eadc.h.

## ◆ EADC_SPCTL_TRGDLYDIV_DIVIDER_4

#define EADC_SPCTL_TRGDLYDIV_DIVIDER_4

Trigger delay clock frequency is ADC_CLK/4

Definition at line 91 of file eadc.h.

## ◆ EADC_STADC_TRIGGER

#define EADC_STADC_TRIGGER

External pin STADC trigger

Definition at line 73 of file eadc.h.

## ◆ EADC_TIMER0_TRIGGER

#define EADC_TIMER0_TRIGGER

Timer0 overflow pulse trigger

Definition at line 76 of file eadc.h.

## ◆ EADC_TIMER1_TRIGGER

#define EADC_TIMER1_TRIGGER

Timer1 overflow pulse trigger

Definition at line 77 of file eadc.h.

## ◆ EADC_TIMER2_TRIGGER

#define EADC_TIMER2_TRIGGER

Timer2 overflow pulse trigger

Definition at line 78 of file eadc.h.

## ◆ EADC_TIMER3_TRIGGER

#define EADC_TIMER3_TRIGGER

Timer3 overflow pulse trigger

Definition at line 79 of file eadc.h.