Input parameters when configuring a PWM channel mode.
#include <pwm.h>
Data Fields | |
pwm_align_t | alignment |
Channel alignment. More... | |
uint32_t | channel |
Channel number. More... | |
pwm_level_t | polarity |
Channel initial polarity. More... | |
uint32_t | ul_duty |
Duty Cycle Value. More... | |
uint32_t | ul_period |
Period Cycle Value. More... | |
uint32_t | ul_prescaler |
Channel prescaler. More... | |
pwm_align_t pwm_channel_t::alignment |
Channel alignment.
Referenced by main(), and pwm_channel_init().
uint32_t pwm_channel_t::channel |
Channel number.
Referenced by main(), pwm_channel_get_counter(), pwm_channel_init(), pwm_channel_update_duty(), pwm_channel_update_period(), and PWM_Handler().
pwm_level_t pwm_channel_t::polarity |
Channel initial polarity.
Referenced by main(), and pwm_channel_init().
uint32_t pwm_channel_t::ul_duty |
Duty Cycle Value.
Referenced by main(), pwm_channel_init(), pwm_channel_update_duty(), and pwm_channel_update_period().
uint32_t pwm_channel_t::ul_period |
Period Cycle Value.
Referenced by main(), pwm_channel_init(), pwm_channel_update_duty(), and pwm_channel_update_period().
uint32_t pwm_channel_t::ul_prescaler |
Channel prescaler.
Referenced by main(), and pwm_channel_init().