M480 BSP V3.05.005
The Board Support Package for M480 Series
Modules | Macros
EPWM Exported Constants

Modules

 EPWM Exported Functions
 

Macros

#define EPWM_CHANNEL_NUM
 
#define EPWM_CH_0_MASK
 
#define EPWM_CH_1_MASK
 
#define EPWM_CH_2_MASK
 
#define EPWM_CH_3_MASK
 
#define EPWM_CH_4_MASK
 
#define EPWM_CH_5_MASK
 
#define EPWM_UP_COUNTER
 
#define EPWM_DOWN_COUNTER
 
#define EPWM_UP_DOWN_COUNTER
 
#define EPWM_EDGE_ALIGNED
 
#define EPWM_CENTER_ALIGNED
 
#define EPWM_OUTPUT_NOTHING
 
#define EPWM_OUTPUT_LOW
 
#define EPWM_OUTPUT_HIGH
 
#define EPWM_OUTPUT_TOGGLE
 
#define EPWM_SSCTL_SSRC_EPWM0
 
#define EPWM_SSCTL_SSRC_EPWM1
 
#define EPWM_SSCTL_SSRC_BPWM0
 
#define EPWM_SSCTL_SSRC_BPWM1
 
#define EPWM_TRG_ADC_EVEN_ZERO
 
#define EPWM_TRG_ADC_EVEN_PERIOD
 
#define EPWM_TRG_ADC_EVEN_ZERO_PERIOD
 
#define EPWM_TRG_ADC_EVEN_COMPARE_UP
 
#define EPWM_TRG_ADC_EVEN_COMPARE_DOWN
 
#define EPWM_TRG_ADC_ODD_ZERO
 
#define EPWM_TRG_ADC_ODD_PERIOD
 
#define EPWM_TRG_ADC_ODD_ZERO_PERIOD
 
#define EPWM_TRG_ADC_ODD_COMPARE_UP
 
#define EPWM_TRG_ADC_ODD_COMPARE_DOWN
 
#define EPWM_TRG_ADC_CH_0_FREE_CMP_UP
 
#define EPWM_TRG_ADC_CH_0_FREE_CMP_DOWN
 
#define EPWM_TRG_ADC_CH_2_FREE_CMP_UP
 
#define EPWM_TRG_ADC_CH_2_FREE_CMP_DOWN
 
#define EPWM_TRG_ADC_CH_4_FREE_CMP_UP
 
#define EPWM_TRG_ADC_CH_4_FREE_CMP_DOWN
 
#define EPWM_TRIGGER_DAC_ZERO
 
#define EPWM_TRIGGER_DAC_PERIOD
 
#define EPWM_TRIGGER_DAC_COMPARE_UP
 
#define EPWM_TRIGGER_DAC_COMPARE_DOWN
 
#define EPWM_FB_EDGE_ACMP0
 
#define EPWM_FB_EDGE_ACMP1
 
#define EPWM_FB_EDGE_BKP0
 
#define EPWM_FB_EDGE_BKP1
 
#define EPWM_FB_EDGE_ADCRM
 
#define EPWM_FB_EDGE_SYS_CSS
 
#define EPWM_FB_EDGE_SYS_BOD
 
#define EPWM_FB_EDGE_SYS_RAM
 
#define EPWM_FB_EDGE_SYS_COR
 
#define EPWM_FB_LEVEL_ACMP0
 
#define EPWM_FB_LEVEL_ACMP1
 
#define EPWM_FB_LEVEL_BKP0
 
#define EPWM_FB_LEVEL_BKP1
 
#define EPWM_FB_LEVEL_ADCRM
 
#define EPWM_FB_LEVEL_SYS_CSS
 
#define EPWM_FB_LEVEL_SYS_BOD
 
#define EPWM_FB_LEVEL_SYS_RAM
 
#define EPWM_FB_LEVEL_SYS_COR
 
#define EPWM_FB_EDGE
 
#define EPWM_FB_LEVEL
 
#define EPWM_LEBCTL_TRGTYPE_RISING
 
#define EPWM_LEBCTL_TRGTYPE_FALLING
 
#define EPWM_LEBCTL_TRGTYPE_RISING_OR_FALLING
 
#define EPWM_LEBCTL_SRCEN0
 
#define EPWM_LEBCTL_SRCEN2
 
#define EPWM_LEBCTL_SRCEN4
 
#define EPWM_LEBCTL_SRCEN0_2
 
#define EPWM_LEBCTL_SRCEN0_4
 
#define EPWM_LEBCTL_SRCEN2_4
 
#define EPWM_LEBCTL_SRCEN0_2_4
 
#define EPWM_CAPTURE_INT_RISING_LATCH
 
#define EPWM_CAPTURE_INT_FALLING_LATCH
 
#define EPWM_CAPTURE_PDMA_RISING_LATCH
 
#define EPWM_CAPTURE_PDMA_FALLING_LATCH
 
#define EPWM_CAPTURE_PDMA_RISING_FALLING_LATCH
 
#define EPWM_DUTY_INT_DOWN_COUNT_MATCH_CMP
 
#define EPWM_DUTY_INT_UP_COUNT_MATCH_CMP
 
#define EPWM_IFA_ZERO_POINT
 
#define EPWM_IFA_PERIOD_POINT
 
#define EPWM_IFA_COMPARE_UP_COUNT_POINT
 
#define EPWM_IFA_COMPARE_DOWN_COUNT_POINT
 
#define EPWM_LOAD_MODE_IMMEDIATE
 
#define EPWM_LOAD_MODE_WINDOW
 
#define EPWM_LOAD_MODE_CENTER
 
#define EPWM_SYNC_OUT_FROM_SYNCIN_SWSYNC
 
#define EPWM_SYNC_OUT_FROM_COUNT_TO_ZERO
 
#define EPWM_SYNC_OUT_FROM_COUNT_TO_COMPARATOR
 
#define EPWM_SYNC_OUT_DISABLE
 
#define EPWM_PHS_DIR_DECREMENT
 
#define EPWM_PHS_DIR_INCREMENT
 
#define EPWM_NF_CLK_DIV_1
 
#define EPWM_NF_CLK_DIV_2
 
#define EPWM_NF_CLK_DIV_4
 
#define EPWM_NF_CLK_DIV_8
 
#define EPWM_NF_CLK_DIV_16
 
#define EPWM_NF_CLK_DIV_32
 
#define EPWM_NF_CLK_DIV_64
 
#define EPWM_NF_CLK_DIV_128
 
#define EPWM_CLKSRC_EPWM_CLK
 
#define EPWM_CLKSRC_TIMER0
 
#define EPWM_CLKSRC_TIMER1
 
#define EPWM_CLKSRC_TIMER2
 
#define EPWM_CLKSRC_TIMER3
 
#define EPWM_FDCTL_FDCKSEL_CLK_DIV_1
 
#define EPWM_FDCTL_FDCKSEL_CLK_DIV_2
 
#define EPWM_FDCTL_FDCKSEL_CLK_DIV_4
 
#define EPWM_FDCTL_FDCKSEL_CLK_DIV_8
 

Detailed Description

Macro Definition Documentation

◆ EPWM_CAPTURE_INT_FALLING_LATCH

#define EPWM_CAPTURE_INT_FALLING_LATCH

EPWM capture interrupt if channel has falling transition

Definition at line 135 of file epwm.h.

◆ EPWM_CAPTURE_INT_RISING_LATCH

#define EPWM_CAPTURE_INT_RISING_LATCH

EPWM capture interrupt if channel has rising transition

Definition at line 134 of file epwm.h.

◆ EPWM_CAPTURE_PDMA_FALLING_LATCH

#define EPWM_CAPTURE_PDMA_FALLING_LATCH

EPWM capture falling latched data transfer by PDMA

Definition at line 138 of file epwm.h.

◆ EPWM_CAPTURE_PDMA_RISING_FALLING_LATCH

#define EPWM_CAPTURE_PDMA_RISING_FALLING_LATCH

EPWM capture rising and falling latched data transfer by PDMA

Definition at line 139 of file epwm.h.

◆ EPWM_CAPTURE_PDMA_RISING_LATCH

#define EPWM_CAPTURE_PDMA_RISING_LATCH

EPWM capture rising latched data transfer by PDMA

Definition at line 137 of file epwm.h.

◆ EPWM_CENTER_ALIGNED

#define EPWM_CENTER_ALIGNED

EPWM working in center aligned type

Definition at line 48 of file epwm.h.

◆ EPWM_CH_0_MASK

#define EPWM_CH_0_MASK

EPWM channel 0 mask

Definition at line 30 of file epwm.h.

◆ EPWM_CH_1_MASK

#define EPWM_CH_1_MASK

EPWM channel 1 mask

Definition at line 31 of file epwm.h.

◆ EPWM_CH_2_MASK

#define EPWM_CH_2_MASK

EPWM channel 2 mask

Definition at line 32 of file epwm.h.

◆ EPWM_CH_3_MASK

#define EPWM_CH_3_MASK

EPWM channel 3 mask

Definition at line 33 of file epwm.h.

◆ EPWM_CH_4_MASK

#define EPWM_CH_4_MASK

EPWM channel 4 mask

Definition at line 34 of file epwm.h.

◆ EPWM_CH_5_MASK

#define EPWM_CH_5_MASK

EPWM channel 5 mask

Definition at line 35 of file epwm.h.

◆ EPWM_CHANNEL_NUM

#define EPWM_CHANNEL_NUM

EPWM channel number

Definition at line 29 of file epwm.h.

◆ EPWM_CLKSRC_EPWM_CLK

#define EPWM_CLKSRC_EPWM_CLK

EPWM Clock source selects to EPWM0_CLK or EPWM1_CLK

Definition at line 187 of file epwm.h.

◆ EPWM_CLKSRC_TIMER0

#define EPWM_CLKSRC_TIMER0

EPWM Clock source selects to TIMER0 overflow

Definition at line 188 of file epwm.h.

◆ EPWM_CLKSRC_TIMER1

#define EPWM_CLKSRC_TIMER1

EPWM Clock source selects to TIMER1 overflow

Definition at line 189 of file epwm.h.

◆ EPWM_CLKSRC_TIMER2

#define EPWM_CLKSRC_TIMER2

EPWM Clock source selects to TIMER2 overflow

Definition at line 190 of file epwm.h.

◆ EPWM_CLKSRC_TIMER3

#define EPWM_CLKSRC_TIMER3

EPWM Clock source selects to TIMER3 overflow

Definition at line 191 of file epwm.h.

◆ EPWM_DOWN_COUNTER

#define EPWM_DOWN_COUNTER

Down counter type

Definition at line 41 of file epwm.h.

◆ EPWM_DUTY_INT_DOWN_COUNT_MATCH_CMP

#define EPWM_DUTY_INT_DOWN_COUNT_MATCH_CMP

EPWM duty interrupt triggered if down count match comparator

Definition at line 144 of file epwm.h.

◆ EPWM_DUTY_INT_UP_COUNT_MATCH_CMP

#define EPWM_DUTY_INT_UP_COUNT_MATCH_CMP

EPWM duty interrupt triggered if up down match comparator

Definition at line 145 of file epwm.h.

◆ EPWM_EDGE_ALIGNED

#define EPWM_EDGE_ALIGNED

EPWM working in edge aligned type(down count)

Definition at line 47 of file epwm.h.

◆ EPWM_FB_EDGE

#define EPWM_FB_EDGE

edge-detect fault brake

Definition at line 114 of file epwm.h.

◆ EPWM_FB_EDGE_ACMP0

#define EPWM_FB_EDGE_ACMP0

Comparator 0 as edge-detect fault brake source

Definition at line 94 of file epwm.h.

◆ EPWM_FB_EDGE_ACMP1

#define EPWM_FB_EDGE_ACMP1

Comparator 1 as edge-detect fault brake source

Definition at line 95 of file epwm.h.

◆ EPWM_FB_EDGE_ADCRM

#define EPWM_FB_EDGE_ADCRM

ADC Result Monitor (ADCRM) as edge-detect fault brake source

Definition at line 98 of file epwm.h.

◆ EPWM_FB_EDGE_BKP0

#define EPWM_FB_EDGE_BKP0

BKP0 pin as edge-detect fault brake source

Definition at line 96 of file epwm.h.

◆ EPWM_FB_EDGE_BKP1

#define EPWM_FB_EDGE_BKP1

BKP1 pin as edge-detect fault brake source

Definition at line 97 of file epwm.h.

◆ EPWM_FB_EDGE_SYS_BOD

#define EPWM_FB_EDGE_SYS_BOD

System fail condition: brown-out detection as edge-detect fault brake source

Definition at line 100 of file epwm.h.

◆ EPWM_FB_EDGE_SYS_COR

#define EPWM_FB_EDGE_SYS_COR

System fail condition: core lockup detection as edge-detect fault brake source

Definition at line 102 of file epwm.h.

◆ EPWM_FB_EDGE_SYS_CSS

#define EPWM_FB_EDGE_SYS_CSS

System fail condition: clock security system detection as edge-detect fault brake source

Definition at line 99 of file epwm.h.

◆ EPWM_FB_EDGE_SYS_RAM

#define EPWM_FB_EDGE_SYS_RAM

System fail condition: SRAM parity error detection as edge-detect fault brake source

Definition at line 101 of file epwm.h.

◆ EPWM_FB_LEVEL

#define EPWM_FB_LEVEL

level-detect fault brake

Definition at line 115 of file epwm.h.

◆ EPWM_FB_LEVEL_ACMP0

#define EPWM_FB_LEVEL_ACMP0

Comparator 0 as level-detect fault brake source

Definition at line 104 of file epwm.h.

◆ EPWM_FB_LEVEL_ACMP1

#define EPWM_FB_LEVEL_ACMP1

Comparator 1 as level-detect fault brake source

Definition at line 105 of file epwm.h.

◆ EPWM_FB_LEVEL_ADCRM

#define EPWM_FB_LEVEL_ADCRM

ADC Result Monitor (ADCRM) as level-detect fault brake source

Definition at line 108 of file epwm.h.

◆ EPWM_FB_LEVEL_BKP0

#define EPWM_FB_LEVEL_BKP0

BKP0 pin as level-detect fault brake source

Definition at line 106 of file epwm.h.

◆ EPWM_FB_LEVEL_BKP1

#define EPWM_FB_LEVEL_BKP1

BKP1 pin as level-detect fault brake source

Definition at line 107 of file epwm.h.

◆ EPWM_FB_LEVEL_SYS_BOD

#define EPWM_FB_LEVEL_SYS_BOD

System fail condition: brown-out detection as level-detect fault brake source

Definition at line 110 of file epwm.h.

◆ EPWM_FB_LEVEL_SYS_COR

#define EPWM_FB_LEVEL_SYS_COR

System fail condition: core lockup detection as level-detect fault brake source

Definition at line 112 of file epwm.h.

◆ EPWM_FB_LEVEL_SYS_CSS

#define EPWM_FB_LEVEL_SYS_CSS

System fail condition: clock security system detection as level-detect fault brake source

Definition at line 109 of file epwm.h.

◆ EPWM_FB_LEVEL_SYS_RAM

#define EPWM_FB_LEVEL_SYS_RAM

System fail condition: SRAM parity error detection as level-detect fault brake source

Definition at line 111 of file epwm.h.

◆ EPWM_FDCTL_FDCKSEL_CLK_DIV_1

#define EPWM_FDCTL_FDCKSEL_CLK_DIV_1

Fault detect clock selects to fault detect clock divided by 1

Definition at line 196 of file epwm.h.

◆ EPWM_FDCTL_FDCKSEL_CLK_DIV_2

#define EPWM_FDCTL_FDCKSEL_CLK_DIV_2

Fault detect clock selects to fault detect clock divided by 2

Definition at line 197 of file epwm.h.

◆ EPWM_FDCTL_FDCKSEL_CLK_DIV_4

#define EPWM_FDCTL_FDCKSEL_CLK_DIV_4

Fault detect clock selects to fault detect clock divided by 4

Definition at line 198 of file epwm.h.

◆ EPWM_FDCTL_FDCKSEL_CLK_DIV_8

#define EPWM_FDCTL_FDCKSEL_CLK_DIV_8

Fault detect clock selects to fault detect clock divided by 8

Definition at line 199 of file epwm.h.

◆ EPWM_IFA_COMPARE_DOWN_COUNT_POINT

#define EPWM_IFA_COMPARE_DOWN_COUNT_POINT

EPWM counter down count to comparator value

Definition at line 153 of file epwm.h.

◆ EPWM_IFA_COMPARE_UP_COUNT_POINT

#define EPWM_IFA_COMPARE_UP_COUNT_POINT

EPWM counter up count to comparator value

Definition at line 152 of file epwm.h.

◆ EPWM_IFA_PERIOD_POINT

#define EPWM_IFA_PERIOD_POINT

EPWM counter equal to period

Definition at line 151 of file epwm.h.

◆ EPWM_IFA_ZERO_POINT

#define EPWM_IFA_ZERO_POINT

EPWM counter equal to zero

Definition at line 150 of file epwm.h.

◆ EPWM_LEBCTL_SRCEN0

#define EPWM_LEBCTL_SRCEN0

EPWM Leading Edge Blanking Source From EPWMx_CH0 Enable

Definition at line 123 of file epwm.h.

◆ EPWM_LEBCTL_SRCEN0_2

#define EPWM_LEBCTL_SRCEN0_2

EPWM Leading Edge Blanking Source From EPWMx_CH0 and EPWMx_CH2 Enable

Definition at line 126 of file epwm.h.

◆ EPWM_LEBCTL_SRCEN0_2_4

#define EPWM_LEBCTL_SRCEN0_2_4

EPWM Leading Edge Blanking Source From EPWMx_CH0, EPWMx_CH2 and EPWMx_CH4 Enable

Definition at line 129 of file epwm.h.

◆ EPWM_LEBCTL_SRCEN0_4

#define EPWM_LEBCTL_SRCEN0_4

EPWM Leading Edge Blanking Source From EPWMx_CH0 and EPWMx_CH4 Enable

Definition at line 127 of file epwm.h.

◆ EPWM_LEBCTL_SRCEN2

#define EPWM_LEBCTL_SRCEN2

EPWM Leading Edge Blanking Source From EPWMx_CH2 Enable

Definition at line 124 of file epwm.h.

◆ EPWM_LEBCTL_SRCEN2_4

#define EPWM_LEBCTL_SRCEN2_4

EPWM Leading Edge Blanking Source From EPWMx_CH2 and EPWMx_CH4 Enable

Definition at line 128 of file epwm.h.

◆ EPWM_LEBCTL_SRCEN4

#define EPWM_LEBCTL_SRCEN4

EPWM Leading Edge Blanking Source From EPWMx_CH4 Enable

Definition at line 125 of file epwm.h.

◆ EPWM_LEBCTL_TRGTYPE_FALLING

#define EPWM_LEBCTL_TRGTYPE_FALLING

EPWM Leading Edge Blanking Trigger Type Is Falling Edge

Definition at line 121 of file epwm.h.

◆ EPWM_LEBCTL_TRGTYPE_RISING

#define EPWM_LEBCTL_TRGTYPE_RISING

EPWM Leading Edge Blanking Trigger Type Is Rising Edge

Definition at line 120 of file epwm.h.

◆ EPWM_LEBCTL_TRGTYPE_RISING_OR_FALLING

#define EPWM_LEBCTL_TRGTYPE_RISING_OR_FALLING

EPWM Leading Edge Blanking Trigger Type Is Rising or Falling Edge

Definition at line 122 of file epwm.h.

◆ EPWM_LOAD_MODE_CENTER

#define EPWM_LOAD_MODE_CENTER

EPWM center load mode

Definition at line 160 of file epwm.h.

◆ EPWM_LOAD_MODE_IMMEDIATE

#define EPWM_LOAD_MODE_IMMEDIATE

EPWM immediately load mode

Definition at line 158 of file epwm.h.

◆ EPWM_LOAD_MODE_WINDOW

#define EPWM_LOAD_MODE_WINDOW

EPWM window load mode

Definition at line 159 of file epwm.h.

◆ EPWM_NF_CLK_DIV_1

#define EPWM_NF_CLK_DIV_1

Noise filter clock is HCLK divide by 1

Definition at line 175 of file epwm.h.

◆ EPWM_NF_CLK_DIV_128

#define EPWM_NF_CLK_DIV_128

Noise filter clock is HCLK divide by 128

Definition at line 182 of file epwm.h.

◆ EPWM_NF_CLK_DIV_16

#define EPWM_NF_CLK_DIV_16

Noise filter clock is HCLK divide by 16

Definition at line 179 of file epwm.h.

◆ EPWM_NF_CLK_DIV_2

#define EPWM_NF_CLK_DIV_2

Noise filter clock is HCLK divide by 2

Definition at line 176 of file epwm.h.

◆ EPWM_NF_CLK_DIV_32

#define EPWM_NF_CLK_DIV_32

Noise filter clock is HCLK divide by 32

Definition at line 180 of file epwm.h.

◆ EPWM_NF_CLK_DIV_4

#define EPWM_NF_CLK_DIV_4

Noise filter clock is HCLK divide by 4

Definition at line 177 of file epwm.h.

◆ EPWM_NF_CLK_DIV_64

#define EPWM_NF_CLK_DIV_64

Noise filter clock is HCLK divide by 64

Definition at line 181 of file epwm.h.

◆ EPWM_NF_CLK_DIV_8

#define EPWM_NF_CLK_DIV_8

Noise filter clock is HCLK divide by 8

Definition at line 178 of file epwm.h.

◆ EPWM_OUTPUT_HIGH

#define EPWM_OUTPUT_HIGH

EPWM output high

Definition at line 55 of file epwm.h.

◆ EPWM_OUTPUT_LOW

#define EPWM_OUTPUT_LOW

EPWM output low

Definition at line 54 of file epwm.h.

◆ EPWM_OUTPUT_NOTHING

#define EPWM_OUTPUT_NOTHING

EPWM output nothing

Definition at line 53 of file epwm.h.

◆ EPWM_OUTPUT_TOGGLE

#define EPWM_OUTPUT_TOGGLE

EPWM output toggle

Definition at line 56 of file epwm.h.

◆ EPWM_PHS_DIR_DECREMENT

#define EPWM_PHS_DIR_DECREMENT

EPWM counter count decrement

Definition at line 169 of file epwm.h.

◆ EPWM_PHS_DIR_INCREMENT

#define EPWM_PHS_DIR_INCREMENT

EPWM counter count increment

Definition at line 170 of file epwm.h.

◆ EPWM_SSCTL_SSRC_BPWM0

#define EPWM_SSCTL_SSRC_BPWM0

Synchronous start source comes from BPWM0

Definition at line 63 of file epwm.h.

◆ EPWM_SSCTL_SSRC_BPWM1

#define EPWM_SSCTL_SSRC_BPWM1

Synchronous start source comes from BPWM1

Definition at line 64 of file epwm.h.

◆ EPWM_SSCTL_SSRC_EPWM0

#define EPWM_SSCTL_SSRC_EPWM0

Synchronous start source comes from EPWM0

Definition at line 61 of file epwm.h.

◆ EPWM_SSCTL_SSRC_EPWM1

#define EPWM_SSCTL_SSRC_EPWM1

Synchronous start source comes from EPWM0

Definition at line 62 of file epwm.h.

◆ EPWM_SYNC_OUT_DISABLE

#define EPWM_SYNC_OUT_DISABLE

SYNC_OUT will not be generated

Definition at line 168 of file epwm.h.

◆ EPWM_SYNC_OUT_FROM_COUNT_TO_COMPARATOR

#define EPWM_SYNC_OUT_FROM_COUNT_TO_COMPARATOR

Synchronize source from counter equal to CMPDAT1, CMPDAT3, CMPDAT5

Definition at line 167 of file epwm.h.

◆ EPWM_SYNC_OUT_FROM_COUNT_TO_ZERO

#define EPWM_SYNC_OUT_FROM_COUNT_TO_ZERO

Synchronize source from counter equal to 0

Definition at line 166 of file epwm.h.

◆ EPWM_SYNC_OUT_FROM_SYNCIN_SWSYNC

#define EPWM_SYNC_OUT_FROM_SYNCIN_SWSYNC

Synchronize source from SYNC_IN or SWSYNC

Definition at line 165 of file epwm.h.

◆ EPWM_TRG_ADC_CH_0_FREE_CMP_DOWN

#define EPWM_TRG_ADC_CH_0_FREE_CMP_DOWN

EPWM trigger ADC while counter of channel 0 matches down count to free comparator point

Definition at line 80 of file epwm.h.

◆ EPWM_TRG_ADC_CH_0_FREE_CMP_UP

#define EPWM_TRG_ADC_CH_0_FREE_CMP_UP

EPWM trigger ADC while counter of channel 0 matches up count to free comparator point

Definition at line 79 of file epwm.h.

◆ EPWM_TRG_ADC_CH_2_FREE_CMP_DOWN

#define EPWM_TRG_ADC_CH_2_FREE_CMP_DOWN

EPWM trigger ADC while counter of channel 2 matches down count to free comparator point

Definition at line 82 of file epwm.h.

◆ EPWM_TRG_ADC_CH_2_FREE_CMP_UP

#define EPWM_TRG_ADC_CH_2_FREE_CMP_UP

EPWM trigger ADC while counter of channel 2 matches up count to free comparator point

Definition at line 81 of file epwm.h.

◆ EPWM_TRG_ADC_CH_4_FREE_CMP_DOWN

#define EPWM_TRG_ADC_CH_4_FREE_CMP_DOWN

EPWM trigger ADC while counter of channel 4 matches down count to free comparator point

Definition at line 84 of file epwm.h.

◆ EPWM_TRG_ADC_CH_4_FREE_CMP_UP

#define EPWM_TRG_ADC_CH_4_FREE_CMP_UP

EPWM trigger ADC while counter of channel 4 matches up count to free comparator point

Definition at line 83 of file epwm.h.

◆ EPWM_TRG_ADC_EVEN_COMPARE_DOWN

#define EPWM_TRG_ADC_EVEN_COMPARE_DOWN

EPWM trigger ADC while counter of even channel matches down count to comparator point

Definition at line 73 of file epwm.h.

◆ EPWM_TRG_ADC_EVEN_COMPARE_UP

#define EPWM_TRG_ADC_EVEN_COMPARE_UP

EPWM trigger ADC while counter of even channel matches up count to comparator point

Definition at line 72 of file epwm.h.

◆ EPWM_TRG_ADC_EVEN_PERIOD

#define EPWM_TRG_ADC_EVEN_PERIOD

EPWM trigger ADC while counter of even channel matches period point

Definition at line 70 of file epwm.h.

◆ EPWM_TRG_ADC_EVEN_ZERO

#define EPWM_TRG_ADC_EVEN_ZERO

EPWM trigger ADC while counter of even channel matches zero point

Definition at line 69 of file epwm.h.

◆ EPWM_TRG_ADC_EVEN_ZERO_PERIOD

#define EPWM_TRG_ADC_EVEN_ZERO_PERIOD

EPWM trigger ADC while counter of even channel matches zero or period point

Definition at line 71 of file epwm.h.

◆ EPWM_TRG_ADC_ODD_COMPARE_DOWN

#define EPWM_TRG_ADC_ODD_COMPARE_DOWN

EPWM trigger ADC while counter of odd channel matches down count to comparator point

Definition at line 78 of file epwm.h.

◆ EPWM_TRG_ADC_ODD_COMPARE_UP

#define EPWM_TRG_ADC_ODD_COMPARE_UP

EPWM trigger ADC while counter of odd channel matches up count to comparator point

Definition at line 77 of file epwm.h.

◆ EPWM_TRG_ADC_ODD_PERIOD

#define EPWM_TRG_ADC_ODD_PERIOD

EPWM trigger ADC while counter of odd channel matches period point

Definition at line 75 of file epwm.h.

◆ EPWM_TRG_ADC_ODD_ZERO

#define EPWM_TRG_ADC_ODD_ZERO

EPWM trigger ADC while counter of odd channel matches zero point

Definition at line 74 of file epwm.h.

◆ EPWM_TRG_ADC_ODD_ZERO_PERIOD

#define EPWM_TRG_ADC_ODD_ZERO_PERIOD

EPWM trigger ADC while counter of odd channel matches zero or period point

Definition at line 76 of file epwm.h.

◆ EPWM_TRIGGER_DAC_COMPARE_DOWN

#define EPWM_TRIGGER_DAC_COMPARE_DOWN

EPWM trigger DAC while counter down count to CMPDAT

Definition at line 89 of file epwm.h.

◆ EPWM_TRIGGER_DAC_COMPARE_UP

#define EPWM_TRIGGER_DAC_COMPARE_UP

EPWM trigger DAC while counter up count to CMPDAT

Definition at line 88 of file epwm.h.

◆ EPWM_TRIGGER_DAC_PERIOD

#define EPWM_TRIGGER_DAC_PERIOD

EPWM trigger DAC while counter matches (PERIOD + 1)

Definition at line 87 of file epwm.h.

◆ EPWM_TRIGGER_DAC_ZERO

#define EPWM_TRIGGER_DAC_ZERO

EPWM trigger DAC while counter down count to 0

Definition at line 86 of file epwm.h.

◆ EPWM_UP_COUNTER

#define EPWM_UP_COUNTER

Up counter type

Definition at line 40 of file epwm.h.

◆ EPWM_UP_DOWN_COUNTER

#define EPWM_UP_DOWN_COUNTER

Up-Down counter type

Definition at line 42 of file epwm.h.