rusEFI
The most advanced open source ECU
|
Data Structures | |
struct | PWMChannelConfig |
Type of a PWM driver channel configuration structure. More... | |
struct | PWMConfig |
Type of a PWM driver configuration structure. More... | |
struct | PWMDriver |
Structure representing a PWM driver. More... | |
Typedefs | |
typedef uint32_t | pwmmode_t |
Type of a PWM mode. | |
typedef uint8_t | pwmchannel_t |
Type of a PWM channel. | |
typedef uint32_t | pwmchnmsk_t |
Type of a channels mask. | |
typedef uint16_t | pwmcnt_t |
Type of a PWM counter. | |
Functions | |
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. | |
typedef uint8_t pwmchannel_t |
Type of a PWM channel.
Definition at line 125 of file hal_pwm_lld.h.
typedef uint32_t pwmchnmsk_t |
Type of a channels mask.
Definition at line 130 of file hal_pwm_lld.h.
typedef uint16_t pwmcnt_t |
Type of a PWM counter.
Definition at line 135 of file hal_pwm_lld.h.
typedef uint32_t pwmmode_t |
Type of a PWM mode.
Definition at line 120 of file hal_pwm_lld.h.