M471M/R1/S BSP V3.01.000
The Board Support Package for M4521
Modules | Macros
PWM Exported Constants
Collaboration diagram for PWM Exported Constants:

Modules

 PWM Exported Functions
 

Macros

#define PWM_CHANNEL_NUM   (6)
 
#define PWM_CH_0_MASK
 
#define PWM_CH_1_MASK
 
#define PWM_CH_2_MASK
 
#define PWM_CH_3_MASK
 
#define PWM_CH_4_MASK
 
#define PWM_CH_5_MASK
 
#define PWM_UP_COUNTER   (0UL)
 
#define PWM_DOWN_COUNTER   (1UL)
 
#define PWM_UP_DOWN_COUNTER   (2UL)
 
#define PWM_EDGE_ALIGNED   (1UL)
 
#define PWM_CENTER_ALIGNED   (2UL)
 
#define PWM_OUTPUT_NOTHING   (0UL)
 
#define PWM_OUTPUT_LOW   (1UL)
 
#define PWM_OUTPUT_HIGH   (2UL)
 
#define PWM_OUTPUT_TOGGLE   (3UL)
 
#define PWM_TRIGGER_ADC_EVEN_ZERO_POINT   (0UL)
 
#define PWM_TRIGGER_ADC_EVEN_PERIOD_POINT   (1UL)
 
#define PWM_TRIGGER_ADC_EVEN_ZERO_OR_PERIOD_POINT   (2UL)
 
#define PWM_TRIGGER_ADC_EVEN_COMPARE_UP_COUNT_POINT   (3UL)
 
#define PWM_TRIGGER_ADC_EVEN_COMPARE_DOWN_COUNT_POINT   (4UL)
 
#define PWM_TRIGGER_ADC_ODD_ZERO_POINT   (5UL)
 
#define PWM_TRIGGER_ADC_ODD_PERIOD_POINT   (6UL)
 
#define PWM_TRIGGER_ADC_ODD_ZERO_OR_PERIOD_POINT   (7UL)
 
#define PWM_TRIGGER_ADC_ODD_COMPARE_UP_COUNT_POINT   (8UL)
 
#define PWM_TRIGGER_ADC_ODD_COMPARE_DOWN_COUNT_POINT   (9UL)
 
#define PWM_TRIGGER_ADC_CH_0_FREE_COMPARE_UP_COUNT_POINT   (10UL)
 
#define PWM_TRIGGER_ADC_CH_0_FREE_COMPARE_DOWN_COUNT_POINT   (11UL)
 
#define PWM_TRIGGER_ADC_CH_2_FREE_COMPARE_UP_COUNT_POINT   (12UL)
 
#define PWM_TRIGGER_ADC_CH_2_FREE_COMPARE_DOWN_COUNT_POINT   (13UL)
 
#define PWM_TRIGGER_ADC_CH_4_FREE_COMPARE_UP_COUNT_POINT   (14UL)
 
#define PWM_TRIGGER_ADC_CH_4_FREE_COMPARE_DOWN_COUNT_POINT   (15UL)
 
#define PWM_FB_EDGE_BKP0   (PWM_BRKCTL0_1_BRKP0EEN_Msk)
 
#define PWM_FB_EDGE_BKP1   (PWM_BRKCTL0_1_BRKP1EEN_Msk)
 
#define PWM_FB_EDGE_SYS_CSS   (PWM_BRKCTL0_1_SYSEBEN_Msk | PWM_FAILBRK_CSSBRKEN_Msk)
 
#define PWM_FB_EDGE_SYS_BOD   (PWM_BRKCTL0_1_SYSEBEN_Msk | PWM_FAILBRK_BODBRKEN_Msk)
 
#define PWM_FB_EDGE_SYS_COR   (PWM_BRKCTL0_1_SYSEBEN_Msk | PWM_FAILBRK_CORBRKEN_Msk)
 
#define PWM_FB_LEVEL_BKP0   (PWM_BRKCTL0_1_BRKP0LEN_Msk)
 
#define PWM_FB_LEVEL_BKP1   (PWM_BRKCTL0_1_BRKP1LEN_Msk)
 
#define PWM_FB_LEVEL_SYS_CSS   (PWM_BRKCTL0_1_SYSLBEN_Msk | PWM_FAILBRK_CSSBRKEN_Msk)
 
#define PWM_FB_LEVEL_SYS_BOD   (PWM_BRKCTL0_1_SYSLBEN_Msk | PWM_FAILBRK_BODBRKEN_Msk)
 
#define PWM_FB_LEVEL_SYS_COR   (PWM_BRKCTL0_1_SYSLBEN_Msk | PWM_FAILBRK_CORBRKEN_Msk)
 
#define PWM_FB_EDGE   (0UL)
 
#define PWM_FB_LEVEL   (8UL)
 
#define PWM_CAPTURE_INT_RISING_LATCH   (1UL)
 
#define PWM_CAPTURE_INT_FALLING_LATCH   (0x100UL)
 
#define PWM_CAPTURE_PDMA_RISING_LATCH   (0x2UL)
 
#define PWM_CAPTURE_PDMA_FALLING_LATCH   (0x4UL)
 
#define PWM_CAPTURE_PDMA_RISING_FALLING_LATCH   (0x6UL)
 
#define PWM_DUTY_INT_DOWN_COUNT_MATCH_CMP   (PWM_INTEN0_CMPDIEN0_Msk)
 
#define PWM_DUTY_INT_UP_COUNT_MATCH_CMP   (PWM_INTEN0_CMPUIEN0_Msk)
 
#define PWM_IFA_EVEN_ZERO_POINT
 
#define PWM_IFA_EVEN_PERIOD_POINT
 
#define PWM_IFA_EVEN_COMPARE_UP_COUNT_POINT
 
#define PWM_IFA_EVEN_COMPARE_DOWN_COUNT_POINT
 
#define PWM_IFA_ODD_ZERO_POINT
 
#define PWM_IFA_ODD_PERIOD_POINT
 
#define PWM_IFA_ODD_COMPARE_UP_COUNT_POINT
 
#define PWM_IFA_ODD_COMPARE_DOWN_COUNT_POINT
 
#define PWM_LOAD_MODE_IMMEDIATE
 
#define PWM_LOAD_MODE_WINDOW
 
#define PWM_LOAD_MODE_CENTER
 
#define PWM_SYNC_OUT_FROM_SYNCIN_SWSYNC
 
#define PWM_SYNC_OUT_FROM_COUNT_TO_ZERO
 
#define PWM_SYNC_OUT_FROM_COUNT_TO_COMPARATOR
 
#define PWM_SYNC_OUT_DISABLE
 
#define PWM_PHS_DIR_DECREMENT
 
#define PWM_PHS_DIR_INCREMENT
 
#define PWM_NF_CLK_DIV_1
 
#define PWM_NF_CLK_DIV_2
 
#define PWM_NF_CLK_DIV_4
 
#define PWM_NF_CLK_DIV_8
 
#define PWM_NF_CLK_DIV_16
 
#define PWM_NF_CLK_DIV_32
 
#define PWM_NF_CLK_DIV_64
 
#define PWM_NF_CLK_DIV_128
 
#define PWM_CLKSRC_PWM_CLK
 
#define PWM_CLKSRC_TIMER0
 
#define PWM_CLKSRC_TIMER1
 
#define PWM_CLKSRC_TIMER2
 
#define PWM_CLKSRC_TIMER3
 

Detailed Description

Macro Definition Documentation

◆ PWM_CAPTURE_INT_FALLING_LATCH

#define PWM_CAPTURE_INT_FALLING_LATCH   (0x100UL)

PWM capture interrupt if channel has falling transition

Definition at line 99 of file pwm.h.

◆ PWM_CAPTURE_INT_RISING_LATCH

#define PWM_CAPTURE_INT_RISING_LATCH   (1UL)

PWM capture interrupt if channel has rising transition

Definition at line 98 of file pwm.h.

◆ PWM_CAPTURE_PDMA_FALLING_LATCH

#define PWM_CAPTURE_PDMA_FALLING_LATCH   (0x4UL)

PWM capture falling latched data transfer by PDMA

Definition at line 102 of file pwm.h.

◆ PWM_CAPTURE_PDMA_RISING_FALLING_LATCH

#define PWM_CAPTURE_PDMA_RISING_FALLING_LATCH   (0x6UL)

PWM capture rising and falling latched data transfer by PDMA

Definition at line 103 of file pwm.h.

◆ PWM_CAPTURE_PDMA_RISING_LATCH

#define PWM_CAPTURE_PDMA_RISING_LATCH   (0x2UL)

PWM capture rising latched data transfer by PDMA

Definition at line 101 of file pwm.h.

◆ PWM_CENTER_ALIGNED

#define PWM_CENTER_ALIGNED   (2UL)

PWM working in center aligned type

Definition at line 47 of file pwm.h.

◆ PWM_CH_0_MASK

#define PWM_CH_0_MASK

PWM channel 0 mask

Definition at line 29 of file pwm.h.

◆ PWM_CH_1_MASK

#define PWM_CH_1_MASK

PWM channel 1 mask

Definition at line 30 of file pwm.h.

◆ PWM_CH_2_MASK

#define PWM_CH_2_MASK

PWM channel 2 mask

Definition at line 31 of file pwm.h.

◆ PWM_CH_3_MASK

#define PWM_CH_3_MASK

PWM channel 3 mask

Definition at line 32 of file pwm.h.

◆ PWM_CH_4_MASK

#define PWM_CH_4_MASK

PWM channel 4 mask

Definition at line 33 of file pwm.h.

◆ PWM_CH_5_MASK

#define PWM_CH_5_MASK

PWM channel 5 mask

Definition at line 34 of file pwm.h.

◆ PWM_CHANNEL_NUM

#define PWM_CHANNEL_NUM   (6)

PWM channel number

Definition at line 28 of file pwm.h.

◆ PWM_CLKSRC_PWM_CLK

#define PWM_CLKSRC_PWM_CLK

PWM Clock source selects to PWM0_CLK or PWM1_CLK

Definition at line 155 of file pwm.h.

◆ PWM_CLKSRC_TIMER0

#define PWM_CLKSRC_TIMER0

PWM Clock source selects to TIMER0 overflow

Definition at line 156 of file pwm.h.

◆ PWM_CLKSRC_TIMER1

#define PWM_CLKSRC_TIMER1

PWM Clock source selects to TIMER1 overflow

Definition at line 157 of file pwm.h.

◆ PWM_CLKSRC_TIMER2

#define PWM_CLKSRC_TIMER2

PWM Clock source selects to TIMER2 overflow

Definition at line 158 of file pwm.h.

◆ PWM_CLKSRC_TIMER3

#define PWM_CLKSRC_TIMER3

PWM Clock source selects to TIMER3 overflow

Definition at line 159 of file pwm.h.

◆ PWM_DOWN_COUNTER

#define PWM_DOWN_COUNTER   (1UL)

Down counter type

Definition at line 40 of file pwm.h.

◆ PWM_DUTY_INT_DOWN_COUNT_MATCH_CMP

#define PWM_DUTY_INT_DOWN_COUNT_MATCH_CMP   (PWM_INTEN0_CMPDIEN0_Msk)

PWM duty interrupt triggered if down count match comparator

Definition at line 108 of file pwm.h.

◆ PWM_DUTY_INT_UP_COUNT_MATCH_CMP

#define PWM_DUTY_INT_UP_COUNT_MATCH_CMP   (PWM_INTEN0_CMPUIEN0_Msk)

PWM duty interrupt triggered if up down match comparator

Definition at line 109 of file pwm.h.

◆ PWM_EDGE_ALIGNED

#define PWM_EDGE_ALIGNED   (1UL)

PWM working in edge aligned type(down count)

Definition at line 46 of file pwm.h.

◆ PWM_FB_EDGE

#define PWM_FB_EDGE   (0UL)

edge-detect fault brake

Definition at line 92 of file pwm.h.

◆ PWM_FB_EDGE_BKP0

#define PWM_FB_EDGE_BKP0   (PWM_BRKCTL0_1_BRKP0EEN_Msk)

BKP0 pin as edge-detect fault brake source

Definition at line 80 of file pwm.h.

◆ PWM_FB_EDGE_BKP1

#define PWM_FB_EDGE_BKP1   (PWM_BRKCTL0_1_BRKP1EEN_Msk)

BKP1 pin as edge-detect fault brake source

Definition at line 81 of file pwm.h.

◆ PWM_FB_EDGE_SYS_BOD

#define PWM_FB_EDGE_SYS_BOD   (PWM_BRKCTL0_1_SYSEBEN_Msk | PWM_FAILBRK_BODBRKEN_Msk)

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

Definition at line 83 of file pwm.h.

◆ PWM_FB_EDGE_SYS_COR

#define PWM_FB_EDGE_SYS_COR   (PWM_BRKCTL0_1_SYSEBEN_Msk | PWM_FAILBRK_CORBRKEN_Msk)

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

Definition at line 84 of file pwm.h.

◆ PWM_FB_EDGE_SYS_CSS

#define PWM_FB_EDGE_SYS_CSS   (PWM_BRKCTL0_1_SYSEBEN_Msk | PWM_FAILBRK_CSSBRKEN_Msk)

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

Definition at line 82 of file pwm.h.

◆ PWM_FB_LEVEL

#define PWM_FB_LEVEL   (8UL)

level-detect fault brake

Definition at line 93 of file pwm.h.

◆ PWM_FB_LEVEL_BKP0

#define PWM_FB_LEVEL_BKP0   (PWM_BRKCTL0_1_BRKP0LEN_Msk)

BKP0 pin as level-detect fault brake source

Definition at line 86 of file pwm.h.

◆ PWM_FB_LEVEL_BKP1

#define PWM_FB_LEVEL_BKP1   (PWM_BRKCTL0_1_BRKP1LEN_Msk)

BKP1 pin as level-detect fault brake source

Definition at line 87 of file pwm.h.

◆ PWM_FB_LEVEL_SYS_BOD

#define PWM_FB_LEVEL_SYS_BOD   (PWM_BRKCTL0_1_SYSLBEN_Msk | PWM_FAILBRK_BODBRKEN_Msk)

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

Definition at line 89 of file pwm.h.

◆ PWM_FB_LEVEL_SYS_COR

#define PWM_FB_LEVEL_SYS_COR   (PWM_BRKCTL0_1_SYSLBEN_Msk | PWM_FAILBRK_CORBRKEN_Msk)

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

Definition at line 90 of file pwm.h.

◆ PWM_FB_LEVEL_SYS_CSS

#define PWM_FB_LEVEL_SYS_CSS   (PWM_BRKCTL0_1_SYSLBEN_Msk | PWM_FAILBRK_CSSBRKEN_Msk)

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

Definition at line 88 of file pwm.h.

◆ PWM_IFA_EVEN_COMPARE_DOWN_COUNT_POINT

#define PWM_IFA_EVEN_COMPARE_DOWN_COUNT_POINT

PWM counter down count to comparator value in even channel

Definition at line 117 of file pwm.h.

◆ PWM_IFA_EVEN_COMPARE_UP_COUNT_POINT

#define PWM_IFA_EVEN_COMPARE_UP_COUNT_POINT

PWM counter up count to comparator value in even channel

Definition at line 116 of file pwm.h.

◆ PWM_IFA_EVEN_PERIOD_POINT

#define PWM_IFA_EVEN_PERIOD_POINT

PWM counter equal to period in even channel

Definition at line 115 of file pwm.h.

◆ PWM_IFA_EVEN_ZERO_POINT

#define PWM_IFA_EVEN_ZERO_POINT

PWM counter equal to zero in even channel

Definition at line 114 of file pwm.h.

◆ PWM_IFA_ODD_COMPARE_DOWN_COUNT_POINT

#define PWM_IFA_ODD_COMPARE_DOWN_COUNT_POINT

PWM counter down count to comparator value in odd channel

Definition at line 121 of file pwm.h.

◆ PWM_IFA_ODD_COMPARE_UP_COUNT_POINT

#define PWM_IFA_ODD_COMPARE_UP_COUNT_POINT

PWM counter up count to comparator value in odd channel

Definition at line 120 of file pwm.h.

◆ PWM_IFA_ODD_PERIOD_POINT

#define PWM_IFA_ODD_PERIOD_POINT

PWM counter equal to period in odd channel

Definition at line 119 of file pwm.h.

◆ PWM_IFA_ODD_ZERO_POINT

#define PWM_IFA_ODD_ZERO_POINT

PWM counter equal to zero in odd channel

Definition at line 118 of file pwm.h.

◆ PWM_LOAD_MODE_CENTER

#define PWM_LOAD_MODE_CENTER

PWM center load mode

Definition at line 128 of file pwm.h.

◆ PWM_LOAD_MODE_IMMEDIATE

#define PWM_LOAD_MODE_IMMEDIATE

PWM immediately load mode

Definition at line 126 of file pwm.h.

◆ PWM_LOAD_MODE_WINDOW

#define PWM_LOAD_MODE_WINDOW

PWM window load mode

Definition at line 127 of file pwm.h.

◆ PWM_NF_CLK_DIV_1

#define PWM_NF_CLK_DIV_1

Noise filter clock is HCLK divide by 1

Definition at line 143 of file pwm.h.

◆ PWM_NF_CLK_DIV_128

#define PWM_NF_CLK_DIV_128

Noise filter clock is HCLK divide by 128

Definition at line 150 of file pwm.h.

◆ PWM_NF_CLK_DIV_16

#define PWM_NF_CLK_DIV_16

Noise filter clock is HCLK divide by 16

Definition at line 147 of file pwm.h.

◆ PWM_NF_CLK_DIV_2

#define PWM_NF_CLK_DIV_2

Noise filter clock is HCLK divide by 2

Definition at line 144 of file pwm.h.

◆ PWM_NF_CLK_DIV_32

#define PWM_NF_CLK_DIV_32

Noise filter clock is HCLK divide by 32

Definition at line 148 of file pwm.h.

◆ PWM_NF_CLK_DIV_4

#define PWM_NF_CLK_DIV_4

Noise filter clock is HCLK divide by 4

Definition at line 145 of file pwm.h.

◆ PWM_NF_CLK_DIV_64

#define PWM_NF_CLK_DIV_64

Noise filter clock is HCLK divide by 64

Definition at line 149 of file pwm.h.

◆ PWM_NF_CLK_DIV_8

#define PWM_NF_CLK_DIV_8

Noise filter clock is HCLK divide by 8

Definition at line 146 of file pwm.h.

◆ PWM_OUTPUT_HIGH

#define PWM_OUTPUT_HIGH   (2UL)

PWM output high

Definition at line 54 of file pwm.h.

◆ PWM_OUTPUT_LOW

#define PWM_OUTPUT_LOW   (1UL)

PWM output low

Definition at line 53 of file pwm.h.

◆ PWM_OUTPUT_NOTHING

#define PWM_OUTPUT_NOTHING   (0UL)

PWM output nothing

Definition at line 52 of file pwm.h.

◆ PWM_OUTPUT_TOGGLE

#define PWM_OUTPUT_TOGGLE   (3UL)

PWM output toggle

Definition at line 55 of file pwm.h.

◆ PWM_PHS_DIR_DECREMENT

#define PWM_PHS_DIR_DECREMENT

PWM counter count decrement

Definition at line 137 of file pwm.h.

◆ PWM_PHS_DIR_INCREMENT

#define PWM_PHS_DIR_INCREMENT

PWM counter count increment

Definition at line 138 of file pwm.h.

◆ PWM_SYNC_OUT_DISABLE

#define PWM_SYNC_OUT_DISABLE

SYNC_OUT will not be generated

Definition at line 136 of file pwm.h.

◆ PWM_SYNC_OUT_FROM_COUNT_TO_COMPARATOR

#define PWM_SYNC_OUT_FROM_COUNT_TO_COMPARATOR

Synchronize source from counter equal to CMPDAT1, CMPDAT3, CMPDAT5

Definition at line 135 of file pwm.h.

◆ PWM_SYNC_OUT_FROM_COUNT_TO_ZERO

#define PWM_SYNC_OUT_FROM_COUNT_TO_ZERO

Synchronize source from counter equal to 0

Definition at line 134 of file pwm.h.

◆ PWM_SYNC_OUT_FROM_SYNCIN_SWSYNC

#define PWM_SYNC_OUT_FROM_SYNCIN_SWSYNC

Synchronize source from SYNC_IN or SWSYNC

Definition at line 133 of file pwm.h.

◆ PWM_TRIGGER_ADC_CH_0_FREE_COMPARE_DOWN_COUNT_POINT

#define PWM_TRIGGER_ADC_CH_0_FREE_COMPARE_DOWN_COUNT_POINT   (11UL)

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

Definition at line 71 of file pwm.h.

◆ PWM_TRIGGER_ADC_CH_0_FREE_COMPARE_UP_COUNT_POINT

#define PWM_TRIGGER_ADC_CH_0_FREE_COMPARE_UP_COUNT_POINT   (10UL)

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

Definition at line 70 of file pwm.h.

◆ PWM_TRIGGER_ADC_CH_2_FREE_COMPARE_DOWN_COUNT_POINT

#define PWM_TRIGGER_ADC_CH_2_FREE_COMPARE_DOWN_COUNT_POINT   (13UL)

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

Definition at line 73 of file pwm.h.

◆ PWM_TRIGGER_ADC_CH_2_FREE_COMPARE_UP_COUNT_POINT

#define PWM_TRIGGER_ADC_CH_2_FREE_COMPARE_UP_COUNT_POINT   (12UL)

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

Definition at line 72 of file pwm.h.

◆ PWM_TRIGGER_ADC_CH_4_FREE_COMPARE_DOWN_COUNT_POINT

#define PWM_TRIGGER_ADC_CH_4_FREE_COMPARE_DOWN_COUNT_POINT   (15UL)

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

Definition at line 75 of file pwm.h.

◆ PWM_TRIGGER_ADC_CH_4_FREE_COMPARE_UP_COUNT_POINT

#define PWM_TRIGGER_ADC_CH_4_FREE_COMPARE_UP_COUNT_POINT   (14UL)

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

Definition at line 74 of file pwm.h.

◆ PWM_TRIGGER_ADC_EVEN_COMPARE_DOWN_COUNT_POINT

#define PWM_TRIGGER_ADC_EVEN_COMPARE_DOWN_COUNT_POINT   (4UL)

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

Definition at line 64 of file pwm.h.

◆ PWM_TRIGGER_ADC_EVEN_COMPARE_UP_COUNT_POINT

#define PWM_TRIGGER_ADC_EVEN_COMPARE_UP_COUNT_POINT   (3UL)

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

Definition at line 63 of file pwm.h.

◆ PWM_TRIGGER_ADC_EVEN_PERIOD_POINT

#define PWM_TRIGGER_ADC_EVEN_PERIOD_POINT   (1UL)

PWM trigger ADC while counter of even channel matches period point

Definition at line 61 of file pwm.h.

◆ PWM_TRIGGER_ADC_EVEN_ZERO_OR_PERIOD_POINT

#define PWM_TRIGGER_ADC_EVEN_ZERO_OR_PERIOD_POINT   (2UL)

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

Definition at line 62 of file pwm.h.

◆ PWM_TRIGGER_ADC_EVEN_ZERO_POINT

#define PWM_TRIGGER_ADC_EVEN_ZERO_POINT   (0UL)

PWM trigger ADC while counter of even channel matches zero point

Definition at line 60 of file pwm.h.

◆ PWM_TRIGGER_ADC_ODD_COMPARE_DOWN_COUNT_POINT

#define PWM_TRIGGER_ADC_ODD_COMPARE_DOWN_COUNT_POINT   (9UL)

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

Definition at line 69 of file pwm.h.

◆ PWM_TRIGGER_ADC_ODD_COMPARE_UP_COUNT_POINT

#define PWM_TRIGGER_ADC_ODD_COMPARE_UP_COUNT_POINT   (8UL)

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

Definition at line 68 of file pwm.h.

◆ PWM_TRIGGER_ADC_ODD_PERIOD_POINT

#define PWM_TRIGGER_ADC_ODD_PERIOD_POINT   (6UL)

PWM trigger ADC while counter of odd channel matches period point

Definition at line 66 of file pwm.h.

◆ PWM_TRIGGER_ADC_ODD_ZERO_OR_PERIOD_POINT

#define PWM_TRIGGER_ADC_ODD_ZERO_OR_PERIOD_POINT   (7UL)

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

Definition at line 67 of file pwm.h.

◆ PWM_TRIGGER_ADC_ODD_ZERO_POINT

#define PWM_TRIGGER_ADC_ODD_ZERO_POINT   (5UL)

PWM trigger ADC while counter of odd channel matches zero point

Definition at line 65 of file pwm.h.

◆ PWM_UP_COUNTER

#define PWM_UP_COUNTER   (0UL)

Up counter type

Definition at line 39 of file pwm.h.

◆ PWM_UP_DOWN_COUNTER

#define PWM_UP_DOWN_COUNTER   (2UL)

Up-Down counter type

Definition at line 41 of file pwm.h.