LL PWM Output Channel init Structure definition. More...
#include <gr55xx_ll_pwm.h>
Data Fields | |
| uint8_t | duty |
| uint8_t | drive_polarity |
LL PWM Output Channel init Structure definition.
| uint8_t _ll_pwm_channel_init_t::drive_polarity |
Specifies the drive polarity in PWM output mode. This parameter can be a value of PWM drive polarity.
This feature can be modified afterwards using unitary function ll_pwm_enable_positive_drive_channel_x() and ll_pwm_disable_positive_drive_channel_x() where X can be (A, B, C).
| uint8_t _ll_pwm_channel_init_t::duty |
Specifies the duty in PWM output mode. This parameter must be a number ranges between Min_Data=0 and Max_Data=100.
This feature can be modified afterwards using unitary function ll_pwm_set_compare_xn() where X can be (A, B, C) and n can be (0, 1).