ChibiOS/HAL
6.1.0
|
Type of a PWM driver configuration structure. More...
#include <hal_pwm_lld.h>
Data Fields | |
uint32_t | frequency |
Timer clock in Hz. More... | |
pwmcnt_t | period |
PWM period in ticks. More... | |
pwmcallback_t | callback |
Periodic callback pointer. More... | |
PWMChannelConfig | channels [PWM_CHANNELS] |
Channels configurations. More... | |
Type of a PWM driver configuration structure.
Definition at line 105 of file hal_pwm_lld.h.
uint32_t PWMConfig::frequency |
Timer clock in Hz.
Definition at line 111 of file hal_pwm_lld.h.
pwmcnt_t PWMConfig::period |
PWM period in ticks.
Definition at line 117 of file hal_pwm_lld.h.
Referenced by pwmStart().
pwmcallback_t PWMConfig::callback |
Periodic callback pointer.
NULL
then the callback is disabled. Definition at line 123 of file hal_pwm_lld.h.
Referenced by pwmDisablePeriodicNotification(), and pwmEnablePeriodicNotification().
PWMChannelConfig PWMConfig::channels[PWM_CHANNELS] |
Channels configurations.
Definition at line 127 of file hal_pwm_lld.h.
Referenced by pwmDisableChannelNotification(), and pwmEnableChannelNotification().