LL PWM none coding mode Structure definition. More...
#include <ll_pwm.h>
Public Attributes | |
uint32_t | align |
uint32_t | prescaler |
uint32_t | bprescaler |
uint32_t | hprescaler |
uint32_t | breathstop_lvl |
ll_pwm_none_coding_channel_init_t | channel_a |
ll_pwm_none_coding_channel_init_t | channel_b |
ll_pwm_none_coding_channel_init_t | channel_c |
uint32_t _ll_pwm_none_coding_mode_init_t::align |
Specifies the PWM alignment pulses. This parameter can be a value of PWM alignment pulses.
uint32_t _ll_pwm_none_coding_mode_init_t::bprescaler |
Specifies the required prescaler that the duty changes from 0% to 100% in breath mode. This parameter must be a number ranges between Min_Data=0 and Max_Data=0xFFFFFFFF. This parameter is recommended to be larger than 128*prescaler to guarantee an ideal breath effect.
This feature can be modified afterwards using unitary function ll_pwm_set_breath_prescaler().
uint32_t _ll_pwm_none_coding_mode_init_t::breathstop_lvl |
Specifies the IO level when breath stop. This parameter can be a value of PWM stop io level.
ll_pwm_none_coding_channel_init_t _ll_pwm_none_coding_mode_init_t::channel_a |
Specifies the configuration of channelA. This parameter can be a value of ll_pwm_none_coding_channel_init_t.
ll_pwm_none_coding_channel_init_t _ll_pwm_none_coding_mode_init_t::channel_b |
Specifies the configuration of channelB. This parameter can be a value of ll_pwm_none_coding_channel_init_t.
ll_pwm_none_coding_channel_init_t _ll_pwm_none_coding_mode_init_t::channel_c |
Specifies the configuration of channelC. This parameter can be a value of ll_pwm_none_coding_channel_init_t.
uint32_t _ll_pwm_none_coding_mode_init_t::hprescaler |
Specifies the required prescaler in breath hold state. This parameter must be a number ranges between Min_Data=0 and Max_Data=0xFFFFFF.
This feature can be modified afterwards using unitary function ll_pwm_set_hold_prescaler().
uint32_t _ll_pwm_none_coding_mode_init_t::prescaler |
Specifies the prescaler value which will be used configure PWM output frequency. This parameter must be a number ranges between Min_Data = 0 and Max_Data = 0xFFFFFFFF. This parameter should be larger than 128.
This feature can be modified afterwards using unitary function ll_pwm_set_prescaler().