![]() |
M4521_BSP V3.02.000
The Board Support Package for M4521
|

Modules | |
| PWM Exported Functions | |
| #define PWM_CAPTURE_INT_FALLING_LATCH (0x100UL) |
| #define PWM_CAPTURE_INT_RISING_LATCH (1UL) |
| #define PWM_CAPTURE_PDMA_FALLING_LATCH (0x4UL) |
| #define PWM_CAPTURE_PDMA_RISING_FALLING_LATCH (0x6UL) |
| #define PWM_CAPTURE_PDMA_RISING_LATCH (0x2UL) |
| #define PWM_CENTER_ALIGNED (2UL) |
| #define PWM_CLKSRC_PWM_CLK |
| #define PWM_CLKSRC_TIMER0 |
| #define PWM_CLKSRC_TIMER1 |
| #define PWM_CLKSRC_TIMER2 |
| #define PWM_CLKSRC_TIMER3 |
| #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_EDGE_ALIGNED (1UL) |
| #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_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_EDGE_SYS_CSS (PWM_BRKCTL0_1_SYSEBEN_Msk | PWM_FAILBRK_CSSBRKEN_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_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_LEVEL_SYS_CSS (PWM_BRKCTL0_1_SYSLBEN_Msk | PWM_FAILBRK_CSSBRKEN_Msk) |
| #define PWM_IFA_EVEN_COMPARE_DOWN_COUNT_POINT |
| #define PWM_IFA_EVEN_COMPARE_UP_COUNT_POINT |
| #define PWM_IFA_EVEN_PERIOD_POINT |
| #define PWM_IFA_EVEN_ZERO_POINT |
| #define PWM_IFA_ODD_COMPARE_DOWN_COUNT_POINT |
| #define PWM_IFA_ODD_COMPARE_UP_COUNT_POINT |
| #define PWM_IFA_ODD_PERIOD_POINT |
| #define PWM_IFA_ODD_ZERO_POINT |
| #define PWM_NF_CLK_DIV_1 |
| #define PWM_NF_CLK_DIV_128 |
| #define PWM_NF_CLK_DIV_16 |
| #define PWM_NF_CLK_DIV_2 |
| #define PWM_NF_CLK_DIV_32 |
| #define PWM_NF_CLK_DIV_4 |
| #define PWM_NF_CLK_DIV_64 |
| #define PWM_NF_CLK_DIV_8 |
| #define PWM_SYNC_OUT_FROM_COUNT_TO_COMPARATOR |
| #define PWM_SYNC_OUT_FROM_COUNT_TO_ZERO |
| #define PWM_SYNC_OUT_FROM_SYNCIN_SWSYNC |
| #define PWM_TRIGGER_ADC_CH_0_FREE_COMPARE_DOWN_COUNT_POINT (11UL) |
| #define PWM_TRIGGER_ADC_CH_0_FREE_COMPARE_UP_COUNT_POINT (10UL) |
| #define PWM_TRIGGER_ADC_CH_2_FREE_COMPARE_DOWN_COUNT_POINT (13UL) |
| #define PWM_TRIGGER_ADC_CH_2_FREE_COMPARE_UP_COUNT_POINT (12UL) |
| #define PWM_TRIGGER_ADC_CH_4_FREE_COMPARE_DOWN_COUNT_POINT (15UL) |
| #define PWM_TRIGGER_ADC_CH_4_FREE_COMPARE_UP_COUNT_POINT (14UL) |
| #define PWM_TRIGGER_ADC_EVEN_COMPARE_DOWN_COUNT_POINT (4UL) |
| #define PWM_TRIGGER_ADC_EVEN_COMPARE_UP_COUNT_POINT (3UL) |
| #define PWM_TRIGGER_ADC_EVEN_PERIOD_POINT (1UL) |
| #define PWM_TRIGGER_ADC_EVEN_ZERO_OR_PERIOD_POINT (2UL) |
| #define PWM_TRIGGER_ADC_EVEN_ZERO_POINT (0UL) |
| #define PWM_TRIGGER_ADC_ODD_COMPARE_DOWN_COUNT_POINT (9UL) |
| #define PWM_TRIGGER_ADC_ODD_COMPARE_UP_COUNT_POINT (8UL) |
| #define PWM_TRIGGER_ADC_ODD_PERIOD_POINT (6UL) |
| #define PWM_TRIGGER_ADC_ODD_ZERO_OR_PERIOD_POINT (7UL) |
| #define PWM_TRIGGER_ADC_ODD_ZERO_POINT (5UL) |