Searched refs:epwm (Results 1 – 3 of 3) sorted by relevance
32 EPWM_T *epwm; member68 EPWM_T *epwm = cfg->epwm; in pwm_numaker_configure() local71 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() local86 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 …]
340 epwm0: epwm@40058000 {352 epwm1: epwm@40059000 {
416 epwm0: epwm@40058000 {428 epwm1: epwm@40059000 {