You are viewing documentation for version:
3.5.0
Structure to hold the parameters of timer configurations.
This structure defines the configuration parameters for the PWM timer. It includes settings for channel selection, frequency, polarity, mode, initial counter value, duty cycle, base timer mode, and channel timer selection.
Public Attributes# PWM channel selection (ch0 to ch3).
boolean_t
PWM output polarity for the low side.
boolean_t
PWM output polarity for the high side.
boolean_t
PWM mode (independent/complementary).
uint32_t
PWM base time counter initial value.
uint8_t
PWM channel timer selection.
Public Attribute Documentation# channel# sl_pwm_channel_t sl_pwm_config_t::channel PWM channel selection (ch0 to ch3).
frequency# uint32_t sl_pwm_config_t::frequency PWM frequency.
is_polarity_low# boolean_t sl_pwm_config_t::is_polarity_low PWM output polarity for the low side.
is_polarity_high# boolean_t sl_pwm_config_t::is_polarity_high PWM output polarity for the high side.
is_mode# boolean_t sl_pwm_config_t::is_mode PWM mode (independent/complementary).
base_time_counter_initial_value# uint32_t sl_pwm_config_t::base_time_counter_initial_value PWM base time counter initial value.
duty_cycle# uint8_t sl_pwm_config_t::duty_cycle PWM duty cycle.
base_timer_mode# uint8_t sl_pwm_config_t::base_timer_mode PWM base timer mode.
channel_timer_selection# uint8_t sl_pwm_config_t::channel_timer_selection PWM channel timer selection.