rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Functions | Variables
hal_pwm_lld.c File Reference

Functions

static void pwm_lld_serve_interrupt (PWMDriver *pwmp)
 
 OSAL_IRQ_HANDLER (KINETIS_FTM0_IRQ_VECTOR)
 FTM0 interrupt handler.
 
 OSAL_IRQ_HANDLER (KINETIS_FTM1_IRQ_VECTOR)
 FTM1 interrupt handler.
 
 OSAL_IRQ_HANDLER (KINETIS_FTM2_IRQ_VECTOR)
 FTM2 interrupt handler.
 
 OSAL_IRQ_HANDLER (KINETIS_FTM3_IRQ_VECTOR)
 FTM3 interrupt handler.
 
void pwm_lld_init (void)
 Low level PWM driver initialization.
 
void pwm_lld_start (PWMDriver *pwmp)
 Configures and activates the PWM peripheral.
 
void pwm_lld_stop (PWMDriver *pwmp)
 Deactivates the PWM peripheral.
 
void pwm_lld_enable_channel (PWMDriver *pwmp, pwmchannel_t channel, pwmcnt_t width)
 Enables a PWM channel.
 
void pwm_lld_disable_channel (PWMDriver *pwmp, pwmchannel_t channel)
 Disables a PWM channel and its notification.
 
void pwm_lld_enable_periodic_notification (PWMDriver *pwmp)
 Enables the periodic activation edge notification.
 
void pwm_lld_disable_periodic_notification (PWMDriver *pwmp)
 Disables the periodic activation edge notification.
 
void pwm_lld_enable_channel_notification (PWMDriver *pwmp, pwmchannel_t channel)
 Enables a channel de-activation edge notification.
 
void pwm_lld_disable_channel_notification (PWMDriver *pwmp, pwmchannel_t channel)
 Disables a channel de-activation edge notification.
 

Variables

PWMDriver PWMD1
 PWMD1 driver identifier.
 
PWMDriver PWMD2
 PWMD2 driver identifier.
 
PWMDriver PWMD3
 PWMD3 driver identifier.
 
PWMDriver PWMD4
 PWMD4 driver identifier.
 

Go to the source code of this file.