|
ChibiOS
19.1.4
|
PLATFORM PWM subsystem low level driver header. More...
Go to the source code of this file.
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... | |
Macros | |
| #define | PWM_CHANNELS 4 |
| Number of PWM channels per PWM driver. More... | |
| #define | pwm_lld_change_period(pwmp, period) |
| Changes the period the PWM peripheral. More... | |
PLATFORM configuration options | |
| #define | PLATFORM_PWM_USE_PWM1 FALSE |
| PWMD1 driver enable switch. More... | |
Typedefs | |
| typedef uint32_t | pwmmode_t |
| Type of a PWM mode. More... | |
| typedef uint8_t | pwmchannel_t |
| Type of a PWM channel. More... | |
| typedef uint32_t | pwmchnmsk_t |
| Type of a channels mask. More... | |
| typedef uint32_t | pwmcnt_t |
| Type of a PWM counter. More... | |
Functions | |
| void | pwm_lld_init (void) |
| Low level PWM driver initialization. More... | |
| void | pwm_lld_start (PWMDriver *pwmp) |
| Configures and activates the PWM peripheral. More... | |
| void | pwm_lld_stop (PWMDriver *pwmp) |
| Deactivates the PWM peripheral. More... | |
| void | pwm_lld_enable_channel (PWMDriver *pwmp, pwmchannel_t channel, pwmcnt_t width) |
| Enables a PWM channel. More... | |
| void | pwm_lld_disable_channel (PWMDriver *pwmp, pwmchannel_t channel) |
| Disables a PWM channel and its notification. More... | |
| void | pwm_lld_enable_periodic_notification (PWMDriver *pwmp) |
| Enables the periodic activation edge notification. More... | |
| void | pwm_lld_disable_periodic_notification (PWMDriver *pwmp) |
| Disables the periodic activation edge notification. More... | |
| void | pwm_lld_enable_channel_notification (PWMDriver *pwmp, pwmchannel_t channel) |
| Enables a channel de-activation edge notification. More... | |
| void | pwm_lld_disable_channel_notification (PWMDriver *pwmp, pwmchannel_t channel) |
| Disables a channel de-activation edge notification. More... | |
PLATFORM PWM subsystem low level driver header.
Definition in file hal_pwm_lld.h.