ChibiOS/RT Architecture - Reference Manual - Guides |
PWM Driver subsystem low level driver source template. More...
#include "ch.h"
#include "hal.h"
Go to the source code of this file.
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. | |
bool_t | pwm_lld_is_enabled (PWMDriver *pwmp, pwmchannel_t channel) |
Determines whatever the PWM channel is already enabled. | |
void | pwm_lld_set_callback (PWMDriver *pwmp, pwmchannel_t channel, pwmedge_t edge, pwmcallback_t callback) |
Enables a callback mode for the specified PWM channel. | |
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. |
PWM Driver subsystem low level driver source template.
Definition in file templates/pwm_lld.c.