Searched refs:epwm (Results 1 – 7 of 7) sorted by relevance
| /bsp/ti/c28x/libraries/HAL_Drivers/ |
| A D | drv_pwm.c | 119 if(epwm == RT_NULL) in drv_pwm_set() 187 if(epwm == &EPwm1Regs) in drv_pwm_set() 202 if(epwm == RT_NULL) in drv_pwm_get() 223 if(epwm == RT_NULL) in drv_pwm_set_period() 234 if(epwm == RT_NULL) in drv_pwm_set_pulse() 251 if(epwm == RT_NULL) in drv_pwm_set_dead_time() 263 if(epwm == RT_NULL) in drv_pwm_set_phase() 269 epwm->TBPHS.bit.TBPHS = epwm->TBPRD * phase/180; in drv_pwm_set_phase() 273 epwm->TBPHS.bit.TBPHS = epwm->TBPRD-epwm->TBPRD * (phase-180)/180; in drv_pwm_set_phase() 282 if(epwm == RT_NULL) in drv_pwm_enable_irq() [all …]
|
| /bsp/nuvoton/libraries/m480/rtt_port/ |
| A D | drv_epwm_capture.c | 27 EPWM_T *epwm; member 71 if (EPWM_GetWrapAroundFlag(nu_capture->epwm, nu_capture->u8Channel)) in CalPulseWidth() 73 EPWM_ClearWrapAroundFlag(nu_capture->epwm, nu_capture->u8Channel); in CalPulseWidth() 363 if (nu_capture->epwm == EPWM0) in nu_epwm_init() 376 else if (nu_capture->epwm == EPWM1) in nu_epwm_init() 404 rt_kprintf("Failed to initialize EPWM%d.\n", nu_capture->epwm); in nu_capture_init() 430 EPWM_EnableCapture(nu_capture->epwm, 0x1 << nu_capture->u8Channel); in nu_capture_open() 440 EPWM_Start(nu_capture->epwm, 0x1 << nu_capture->u8Channel); in nu_capture_open() 462 EPWM_Stop(nu_capture->epwm, 0x1 << nu_capture->u8Channel); in nu_capture_close() 475 nu_epwm0_capture[i].epwm = EPWM0; in nu_epwm_capture_device_init() [all …]
|
| /bsp/nuvoton/libraries/m2354/rtt_port/ |
| A D | drv_epwm_capture.c | 27 EPWM_T *epwm; member 71 if (EPWM_GetWrapAroundFlag(nu_capture->epwm, nu_capture->u8Channel)) in CalPulseWidth() 73 EPWM_ClearWrapAroundFlag(nu_capture->epwm, nu_capture->u8Channel); in CalPulseWidth() 363 if (nu_capture->epwm == EPWM0) in nu_epwm_init() 376 else if (nu_capture->epwm == EPWM1) in nu_epwm_init() 404 rt_kprintf("Failed to initialize EPWM%d.\n", nu_capture->epwm); in nu_capture_init() 430 EPWM_EnableCapture(nu_capture->epwm, 0x1 << nu_capture->u8Channel); in nu_capture_open() 440 EPWM_Start(nu_capture->epwm, 0x1 << nu_capture->u8Channel); in nu_capture_open() 462 EPWM_Stop(nu_capture->epwm, 0x1 << nu_capture->u8Channel); in nu_capture_close() 475 nu_epwm0_capture[i].epwm = EPWM0; in nu_epwm_capture_device_init() [all …]
|
| /bsp/nuvoton/libraries/ma35/ |
| A D | README.md | 14 | EPWM | RT_Device_Class_Miscellaneous (PWM) | ***epwm[0-1]*** | 15 | EPWM (Capture function) | RT_Device_Class_Miscellaneous (Input capture) | ***epwm[0-1]i[0-5]*** |
|
| /bsp/nuvoton/libraries/m2354/ |
| A D | README.md | 16 | EPWM | RT_Device_Class_Miscellaneous (PWM) | ***epwm[0-1]*** | 17 | EPWM (Capture function) | RT_Device_Class_Miscellaneous (Input capture) | ***epwm[0-1]i[0-5]*** |
|
| /bsp/nuvoton/libraries/m460/ |
| A D | README.md | 18 | EPWM | RT_Device_Class_Miscellaneous (PWM) | ***epwm[0-1]*** | 19 | EPWM (Capture function) | RT_Device_Class_Miscellaneous (Input capture) | ***epwm[0-1]i[0-5]*** |
|
| /bsp/nuvoton/libraries/m480/ |
| A D | README.md | 17 | EPWM | RT_Device_Class_Miscellaneous (PWM) | ***epwm[0-1]*** | 18 | EPWM (Capture function) | RT_Device_Class_Miscellaneous (Input capture) | ***epwm[0-1]i[0-5]*** |
|
Completed in 17 milliseconds