![]() |
ChibiOS/RT Architecture - Reference Manual - Guides |
PWM Driver code. More...
#include "ch.h"#include "hal.h"Go to the source code of this file.
Functions | |
| void | pwmInit (void) |
| PWM Driver initialization. | |
| void | pwmObjectInit (PWMDriver *pwmp) |
Initializes the standard part of a PWMDriver structure. | |
| void | pwmStart (PWMDriver *pwmp, const PWMConfig *config) |
| Configures and activates the PWM peripheral. | |
| void | pwmStop (PWMDriver *pwmp) |
| Deactivates the PWM peripheral. | |
| void | pwmEnableChannel (PWMDriver *pwmp, pwmchannel_t channel, pwmcnt_t width) |
| Enables a PWM channel. | |
| void | pwmDisableChannel (PWMDriver *pwmp, pwmchannel_t channel) |
| Disables a PWM channel. | |
PWM Driver code.
Definition in file pwm.c.
1.6.3