ChibiOS/HAL
6.1.0
|
PWM Driver code. More...
#include "hal.h"
Go to the source code of this file.
Functions | |
void | pwmInit (void) |
PWM Driver initialization. More... | |
void | pwmObjectInit (PWMDriver *pwmp) |
Initializes the standard part of a PWMDriver structure. More... | |
void | pwmStart (PWMDriver *pwmp, const PWMConfig *config) |
Configures and activates the PWM peripheral. More... | |
void | pwmStop (PWMDriver *pwmp) |
Deactivates the PWM peripheral. More... | |
void | pwmChangePeriod (PWMDriver *pwmp, pwmcnt_t period) |
Changes the period the PWM peripheral. More... | |
void | pwmEnableChannel (PWMDriver *pwmp, pwmchannel_t channel, pwmcnt_t width) |
Enables a PWM channel. More... | |
void | pwmDisableChannel (PWMDriver *pwmp, pwmchannel_t channel) |
Disables a PWM channel and its notification. More... | |
void | pwmEnablePeriodicNotification (PWMDriver *pwmp) |
Enables the periodic activation edge notification. More... | |
void | pwmDisablePeriodicNotification (PWMDriver *pwmp) |
Disables the periodic activation edge notification. More... | |
void | pwmEnableChannelNotification (PWMDriver *pwmp, pwmchannel_t channel) |
Enables a channel de-activation edge notification. More... | |
void | pwmDisableChannelNotification (PWMDriver *pwmp, pwmchannel_t channel) |
Disables a channel de-activation edge notification. More... | |
PWM Driver code.
Definition in file hal_pwm.c.