|
ChibiOS/RT
2.5.1 |
#include <pwm_lld.h>

Data Fields | |
| uint32_t | frequency |
| Timer clock in Hz. | |
| pwmcnt_t | period |
| PWM period in ticks. | |
| pwmcallback_t | callback |
| Periodic callback pointer. | |
| PWMChannelConfig | channels [PWM_CHANNELS] |
| Channels configurations. | |
| uint16_t | cr2 |
| TIM CR2 register initialization data. | |
| uint16_t | bdtr |
| TIM BDTR (break & dead-time) register initialization data. | |
| uint32_t PWMConfig::frequency |
Timer clock in Hz.
Definition at line 301 of file pwm_lld.h.
Referenced by pwm_lld_start().
PWM period in ticks.
Definition at line 307 of file pwm_lld.h.
Referenced by pwmStart().
Periodic callback pointer.
NULL then the callback is disabled. Definition at line 313 of file pwm_lld.h.
Referenced by pwm_lld_start().
| PWMChannelConfig PWMConfig::channels[PWM_CHANNELS] |
Channels configurations.
Definition at line 317 of file pwm_lld.h.
Referenced by pwm_lld_enable_channel(), and pwm_lld_start().
| uint16_t PWMConfig::cr2 |
TIM CR2 register initialization data.
Definition at line 323 of file pwm_lld.h.
Referenced by pwm_lld_start().
| uint16_t PWMConfig::bdtr |
TIM BDTR (break & dead-time) register initialization data.
Definition at line 329 of file pwm_lld.h.
Referenced by pwm_lld_start().