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

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

## Modules
| PWM Exported Functions

## Macros
#define | PWM_CHANNEL_NUM
#define | PWM_CH0
#define | PWM_CH1
#define | PWM_CH2
#define | PWM_CH3
#define | PWM_CH4
#define | PWM_CH5
#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_CLK_DIV_1
#define | PWM_CLK_DIV_2
#define | PWM_CLK_DIV_4
#define | PWM_CLK_DIV_8
#define | PWM_CLK_DIV_16
#define | PWM_EDGE_ALIGNED
#define | PWM_CENTER_ALIGNED
#define | PWM_TRIGGER_ADC_RISING_EDGE_POINT
#define | PWM_TRIGGER_ADC_FALLING_EDGE_POINT
#define | PWM_TRIGGER_ADC_CENTER_POINT
#define | PWM_TRIGGER_ADC_PERIOD_POINT
#define | PWM_BRK0_BKP0
#define | PWM_BRK0_CPO0
#define | PWM_BRK0_CPO1
#define | PWM_BRK0_CPO2
#define | PWM_BRK1_LVDBK
#define | PWM_BK1SEL_BKP1
#define | PWM_BK1SEL_CPO0
#define | PWM_BK1SEL_CPO1
#define | PWM_PERIOD_INT_UNDERFLOW
#define | PWM_PERIOD_INT_MATCH_CNR
#define | PWM_DUTY_INT_MATCH_CMR_DN
#define | PWM_DUTY_INT_MATCH_CMR_UP
#define | PWM_FALLING_LATCH_INT_ENABLE
#define | PWM_RISING_LATCH_INT_ENABLE
#define | PWM_RISING_FALLING_LATCH_INT_ENABLE
#define | PWM_FALLING_LATCH_INT_FLAG
#define | PWM_RISING_LATCH_INT_FLAG
#define | PWM_RISING_FALLING_LATCH_INT_FLAG
#define | PWM_TIMEOUT_ERR

## Detailed Description

## Macro Definition Documentation

## ◆ PWM_BK1SEL_BKP1

#define PWM_BK1SEL_BKP1

Brake1 signal source from external pin BKP1

Definition at line 61 of file pwm.h.

## ◆ PWM_BK1SEL_CPO0

#define PWM_BK1SEL_CPO0

Brake1 signal source from analog comparator 0 output

Definition at line 62 of file pwm.h.

## ◆ PWM_BK1SEL_CPO1

#define PWM_BK1SEL_CPO1

Brake1 signal source from analog comparator 1 output

Definition at line 63 of file pwm.h.

## ◆ PWM_BRK0_BKP0

#define PWM_BRK0_BKP0

Brake0 signal source from external pin BKP0

Definition at line 56 of file pwm.h.

## ◆ PWM_BRK0_CPO0

#define PWM_BRK0_CPO0

Brake0 signal source from analog comparator 0 output

Definition at line 57 of file pwm.h.

## ◆ PWM_BRK0_CPO1

#define PWM_BRK0_CPO1

Brake0 signal source from analog comparator 1 output

Definition at line 58 of file pwm.h.

## ◆ PWM_BRK0_CPO2

#define PWM_BRK0_CPO2

Brake0 signal source from analog comparator 2 output

Definition at line 59 of file pwm.h.

## ◆ PWM_BRK1_LVDBK

#define PWM_BRK1_LVDBK

Brake1 signal source from level detect

Definition at line 60 of file pwm.h.

## ◆ PWM_CENTER_ALIGNED

#define PWM_CENTER_ALIGNED

PWM working in center aligned type

Definition at line 51 of file pwm.h.

## ◆ PWM_CH0

#define PWM_CH0

PWM channel 0

Definition at line 33 of file pwm.h.

## ◆ PWM_CH1

#define PWM_CH1

PWM channel 1

Definition at line 34 of file pwm.h.

## ◆ PWM_CH2

#define PWM_CH2

PWM channel 2

Definition at line 35 of file pwm.h.

## ◆ PWM_CH3

#define PWM_CH3

PWM channel 3

Definition at line 36 of file pwm.h.

## ◆ PWM_CH4

#define PWM_CH4

PWM channel 4

Definition at line 37 of file pwm.h.

## ◆ PWM_CH5

#define PWM_CH5

PWM channel 5

Definition at line 38 of file pwm.h.

## ◆ PWM_CH_0_MASK

#define PWM_CH_0_MASK

PWM channel 0 mask

Definition at line 39 of file pwm.h.

## ◆ PWM_CH_1_MASK

#define PWM_CH_1_MASK

PWM channel 1 mask

Definition at line 40 of file pwm.h.

## ◆ PWM_CH_2_MASK

#define PWM_CH_2_MASK

PWM channel 2 mask

Definition at line 41 of file pwm.h.

## ◆ PWM_CH_3_MASK

#define PWM_CH_3_MASK

PWM channel 3 mask

Definition at line 42 of file pwm.h.

## ◆ PWM_CH_4_MASK

#define PWM_CH_4_MASK

PWM channel 4 mask

Definition at line 43 of file pwm.h.

## ◆ PWM_CH_5_MASK

#define PWM_CH_5_MASK

PWM channel 5 mask

Definition at line 44 of file pwm.h.

## ◆ PWM_CHANNEL_NUM

#define PWM_CHANNEL_NUM

PWM channel number

Definition at line 32 of file pwm.h.

## ◆ PWM_CLK_DIV_1

#define PWM_CLK_DIV_1

PWM clock divide by 1

Definition at line 45 of file pwm.h.

## ◆ PWM_CLK_DIV_16

#define PWM_CLK_DIV_16

PWM clock divide by 16

Definition at line 49 of file pwm.h.

## ◆ PWM_CLK_DIV_2

#define PWM_CLK_DIV_2

PWM clock divide by 2

Definition at line 46 of file pwm.h.

## ◆ PWM_CLK_DIV_4

#define PWM_CLK_DIV_4

PWM clock divide by 4

Definition at line 47 of file pwm.h.

## ◆ PWM_CLK_DIV_8

#define PWM_CLK_DIV_8

PWM clock divide by 8

Definition at line 48 of file pwm.h.

## ◆ PWM_DUTY_INT_MATCH_CMR_DN

#define PWM_DUTY_INT_MATCH_CMR_DN

PWM duty interrupt if counter match CNR during down counting

Definition at line 66 of file pwm.h.

## ◆ PWM_DUTY_INT_MATCH_CMR_UP

#define PWM_DUTY_INT_MATCH_CMR_UP

PWM duty interrupt if counter match CNR during up counting

Definition at line 67 of file pwm.h.

## ◆ PWM_EDGE_ALIGNED

#define PWM_EDGE_ALIGNED

PWM working in edge aligned type

Definition at line 50 of file pwm.h.

## ◆ PWM_FALLING_LATCH_INT_ENABLE

#define PWM_FALLING_LATCH_INT_ENABLE

PWM falling latch interrupt enable

Definition at line 68 of file pwm.h.

## ◆ PWM_FALLING_LATCH_INT_FLAG

#define PWM_FALLING_LATCH_INT_FLAG

PWM falling latch condition happened

Definition at line 71 of file pwm.h.

## ◆ PWM_PERIOD_INT_MATCH_CNR

#define PWM_PERIOD_INT_MATCH_CNR

PWM period interrupt trigger if counter match CNR

Definition at line 65 of file pwm.h.

## ◆ PWM_PERIOD_INT_UNDERFLOW

#define PWM_PERIOD_INT_UNDERFLOW

PWM period interrupt trigger if counter underflow

Definition at line 64 of file pwm.h.

## ◆ PWM_RISING_FALLING_LATCH_INT_ENABLE

#define PWM_RISING_FALLING_LATCH_INT_ENABLE

PWM rising latch interrupt enable

Definition at line 70 of file pwm.h.

## ◆ PWM_RISING_FALLING_LATCH_INT_FLAG

#define PWM_RISING_FALLING_LATCH_INT_FLAG

PWM rising latch condition happened

Definition at line 73 of file pwm.h.

## ◆ PWM_RISING_LATCH_INT_ENABLE

#define PWM_RISING_LATCH_INT_ENABLE

PWM rising latch interrupt enable

Definition at line 69 of file pwm.h.

## ◆ PWM_RISING_LATCH_INT_FLAG

#define PWM_RISING_LATCH_INT_FLAG

PWM rising latch condition happened

Definition at line 72 of file pwm.h.

## ◆ PWM_TIMEOUT_ERR

#define PWM_TIMEOUT_ERR

PWM operation abort due to timeout error

Definition at line 78 of file pwm.h.

## ◆ PWM_TRIGGER_ADC_CENTER_POINT

#define PWM_TRIGGER_ADC_CENTER_POINT

PWM trigger ADC while counter matches (CNR + 1)

Definition at line 54 of file pwm.h.

## ◆ PWM_TRIGGER_ADC_FALLING_EDGE_POINT

#define PWM_TRIGGER_ADC_FALLING_EDGE_POINT

PWM trigger ADC while output falling edge is detected

Definition at line 53 of file pwm.h.

## ◆ PWM_TRIGGER_ADC_PERIOD_POINT

#define PWM_TRIGGER_ADC_PERIOD_POINT

PWM trigger ADC while counter down count to 0

Definition at line 55 of file pwm.h.

## ◆ PWM_TRIGGER_ADC_RISING_EDGE_POINT

#define PWM_TRIGGER_ADC_RISING_EDGE_POINT

PWM trigger ADC while output rising edge is detected

Definition at line 52 of file pwm.h.