Home
last modified time | relevance | path

Searched refs:epwm (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/pwm/
Dpwm_numaker.c32 EPWM_T *epwm; member
68 EPWM_T *epwm = cfg->epwm; in pwm_numaker_configure() local
71 EPWM_ForceStop(epwm, NUMAKER_PWM_CHANNEL_MASK); in pwm_numaker_configure()
74 epwm->POLCTL &= ~(NUMAKER_PWM_CHANNEL_MASK << EPWM_POLCTL_PINV0_Pos); in pwm_numaker_configure()
83 EPWM_T *epwm = cfg->epwm; in pwm_numaker_set_cycles() local
86 LOG_DBG("Channel=0x%x, CAPIEN=0x%x, CAPIF=0x%x", channel, epwm->CAPIEN, in pwm_numaker_set_cycles()
87 epwm->CAPIF); in pwm_numaker_set_cycles()
91 epwm->POLCTL |= BIT(EPWM_POLCTL_PINV0_Pos + channel); in pwm_numaker_set_cycles()
93 epwm->POLCTL &= ~BIT(EPWM_POLCTL_PINV0_Pos + channel); in pwm_numaker_set_cycles()
98 EPWM_Stop(epwm, channel_mask); in pwm_numaker_set_cycles()
[all …]
/Zephyr-latest/dts/arm/nuvoton/
Dm2l31x.dtsi340 epwm0: epwm@40058000 {
352 epwm1: epwm@40059000 {
Dm46x.dtsi416 epwm0: epwm@40058000 {
428 epwm1: epwm@40059000 {