rusEFI
The most advanced open source ECU
|
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. | |
OSAL_IRQ_HANDLER | ( | KINETIS_FTM0_IRQ_VECTOR | ) |
FTM0 interrupt handler.
@isr
Definition at line 118 of file hal_pwm_lld.c.
OSAL_IRQ_HANDLER | ( | KINETIS_FTM1_IRQ_VECTOR | ) |
FTM1 interrupt handler.
@isr
Definition at line 131 of file hal_pwm_lld.c.
OSAL_IRQ_HANDLER | ( | KINETIS_FTM2_IRQ_VECTOR | ) |
FTM2 interrupt handler.
@isr
Definition at line 145 of file hal_pwm_lld.c.
OSAL_IRQ_HANDLER | ( | KINETIS_FTM3_IRQ_VECTOR | ) |
FTM3 interrupt handler.
@isr
Definition at line 159 of file hal_pwm_lld.c.
void pwm_lld_disable_channel | ( | PWMDriver * | pwmp, |
pwmchannel_t | channel | ||
) |
Disables a PWM channel and its notification.
pwmStart()
. [in] | pwmp | pointer to a PWMDriver object |
[in] | channel | PWM channel identifier (0...channels-1) |
@notapi
Definition at line 404 of file hal_pwm_lld.c.
void pwm_lld_disable_channel_notification | ( | PWMDriver * | pwmp, |
pwmchannel_t | channel | ||
) |
Disables a channel de-activation edge notification.
pwmStart()
. pwmEnableChannel()
. [in] | pwmp | pointer to a PWMDriver object |
[in] | channel | PWM channel identifier (0...channels-1) |
@notapi
Definition at line 463 of file hal_pwm_lld.c.
void pwm_lld_disable_periodic_notification | ( | PWMDriver * | pwmp | ) |
Disables the periodic activation edge notification.
pwmStart()
. [in] | pwmp | pointer to a PWMDriver object |
@notapi
Definition at line 432 of file hal_pwm_lld.c.
void pwm_lld_enable_channel | ( | PWMDriver * | pwmp, |
pwmchannel_t | channel, | ||
pwmcnt_t | width | ||
) |
Enables a PWM channel.
pwmStart()
. [in] | pwmp | pointer to a PWMDriver object |
[in] | channel | PWM channel identifier (0...channels-1) |
[in] | width | PWM pulse width as clock pulses number |
@notapi
Definition at line 370 of file hal_pwm_lld.c.
Referenced by portSetHardwareSchedulerTimer().
void pwm_lld_enable_channel_notification | ( | PWMDriver * | pwmp, |
pwmchannel_t | channel | ||
) |
Enables a channel de-activation edge notification.
pwmStart()
. pwmEnableChannel()
. [in] | pwmp | pointer to a PWMDriver object |
[in] | channel | PWM channel identifier (0...channels-1) |
@notapi
Definition at line 447 of file hal_pwm_lld.c.
void pwm_lld_enable_periodic_notification | ( | PWMDriver * | pwmp | ) |
Enables the periodic activation edge notification.
pwmStart()
. [in] | pwmp | pointer to a PWMDriver object |
@notapi
Definition at line 419 of file hal_pwm_lld.c.
void pwm_lld_init | ( | void | ) |
Low level PWM driver initialization.
@notapi
Definition at line 176 of file hal_pwm_lld.c.
|
static |
Definition at line 84 of file hal_pwm_lld.c.
Referenced by OSAL_IRQ_HANDLER(), OSAL_IRQ_HANDLER(), OSAL_IRQ_HANDLER(), and OSAL_IRQ_HANDLER().
void pwm_lld_start | ( | PWMDriver * | pwmp | ) |
Configures and activates the PWM peripheral.
PWM_READY
state disables all the active channels.[in] | pwmp | pointer to a PWMDriver object |
@notapi
Definition at line 212 of file hal_pwm_lld.c.
void pwm_lld_stop | ( | PWMDriver * | pwmp | ) |
Deactivates the PWM peripheral.
[in] | pwmp | pointer to a PWMDriver object |
@notapi
Definition at line 304 of file hal_pwm_lld.c.
PWMDriver PWMD1 |
PWMD1 driver identifier.
Definition at line 49 of file hal_pwm_lld.c.
Referenced by getConfigForPin(), initWS2812(), OSAL_IRQ_HANDLER(), pwm_lld_init(), pwm_lld_start(), and pwm_lld_stop().
PWMDriver PWMD2 |
PWMD2 driver identifier.
Definition at line 57 of file hal_pwm_lld.c.
Referenced by getConfigForPin(), OSAL_IRQ_HANDLER(), pwm_lld_init(), pwm_lld_start(), and pwm_lld_stop().
PWMDriver PWMD3 |
PWMD3 driver identifier.
Definition at line 65 of file hal_pwm_lld.c.
Referenced by getConfigForPin(), OSAL_IRQ_HANDLER(), pwm_lld_init(), pwm_lld_start(), and pwm_lld_stop().
PWMDriver PWMD4 |
PWMD4 driver identifier.
Definition at line 73 of file hal_pwm_lld.c.
Referenced by getConfigForPin(), OSAL_IRQ_HANDLER(), pwm_lld_init(), pwm_lld_start(), and pwm_lld_stop().