rusEFI
The most advanced open source ECU
|
Structure representing a PWM driver. More...
#include <hal_pwm_lld.h>
Data Fields | |
pwmstate_t | state |
Driver state. | |
const PWMConfig * | config |
Current driver configuration data. | |
pwmcnt_t | period |
Current PWM period in ticks. | |
pwmchnmsk_t | enabled |
Mask of the enabled channels. | |
pwmchannel_t | channels |
Number of channels in this instance. | |
PWM_DRIVER_EXT_FIELDS FTM_TypeDef * | ftm |
Pointer to the FTM registers block. | |
Structure representing a PWM driver.
Definition at line 199 of file hal_pwm_lld.h.
pwmchannel_t PWMDriver::channels |
Number of channels in this instance.
Definition at line 219 of file hal_pwm_lld.h.
Referenced by pwm_lld_init(), and pwm_lld_serve_interrupt().
const PWMConfig* PWMDriver::config |
Current driver configuration data.
Definition at line 207 of file hal_pwm_lld.h.
Referenced by pwm_lld_enable_channel(), pwm_lld_serve_interrupt(), and pwm_lld_start().
pwmchnmsk_t PWMDriver::enabled |
Mask of the enabled channels.
Definition at line 215 of file hal_pwm_lld.h.
PWM_DRIVER_EXT_FIELDS FTM_TypeDef* PWMDriver::ftm |
Pointer to the FTM registers block.
Definition at line 227 of file hal_pwm_lld.h.
Referenced by pwm_lld_disable_channel(), pwm_lld_disable_channel_notification(), pwm_lld_disable_periodic_notification(), pwm_lld_enable_channel(), pwm_lld_enable_channel_notification(), pwm_lld_enable_periodic_notification(), pwm_lld_init(), pwm_lld_serve_interrupt(), pwm_lld_start(), and pwm_lld_stop().
pwmcnt_t PWMDriver::period |
Current PWM period in ticks.
Definition at line 211 of file hal_pwm_lld.h.
Referenced by pwm_lld_start().
pwmstate_t PWMDriver::state |
Driver state.
Definition at line 203 of file hal_pwm_lld.h.
Referenced by pwm_lld_start(), and pwm_lld_stop().