![]() |
ChibiOS/RT Architecture - Reference Manual - Guides |
Driver configuration structure. More...
#include <pwm_lld.h>

Data Fields | |
| pwmcallback_t | pc_callback |
| Periodic callback pointer. | |
| PWMChannelConfig | pc_channels [PWM_CHANNELS] |
| Channels configurations. | |
| uint16_t | pc_psc |
| TIM PSC (pre-scaler) register initialization data. | |
| uint16_t | pc_arr |
| TIM ARR (auto-reload) register initialization data. | |
| uint16_t | pc_cr2 |
| TIM CR2 register initialization data. | |
Driver configuration structure.
PWM driver configuration structure.
Definition at line 109 of file templates/pwm_lld.h.
Periodic callback pointer.
NULL then the callback is disabled. Definition at line 115 of file templates/pwm_lld.h.
Referenced by pwm_lld_start().
Channels configurations.
Definition at line 119 of file templates/pwm_lld.h.
Referenced by pwm_lld_enable_channel(), and pwm_lld_start().
TIM PSC (pre-scaler) register initialization data.
Definition at line 184 of file platforms/STM32/pwm_lld.h.
Referenced by pwm_lld_start().
TIM ARR (auto-reload) register initialization data.
Definition at line 188 of file platforms/STM32/pwm_lld.h.
Referenced by pwm_lld_start().
TIM CR2 register initialization data.
Definition at line 193 of file platforms/STM32/pwm_lld.h.
Referenced by pwm_lld_start().
1.7.1