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).
PWM frequency.
PWM output polarity for the low side.
PWM output polarity for the high side.
PWM mode (independent/complementary).
PWM base time counter initial value.
PWM duty cycle.
PWM base timer mode.
PWM channel timer selection.
Public Attribute Documentation#
channel#
sl_pwm_channel_t sl_pwm_config_t::channel
PWM channel selection (ch0 to ch3).
384
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_pwm.h
frequency#
uint32_t sl_pwm_config_t::frequency
PWM frequency.
385
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_pwm.h
is_polarity_low#
boolean_t sl_pwm_config_t::is_polarity_low
PWM output polarity for the low side.
386
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_pwm.h
is_polarity_high#
boolean_t sl_pwm_config_t::is_polarity_high
PWM output polarity for the high side.
387
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_pwm.h
is_mode#
boolean_t sl_pwm_config_t::is_mode
PWM mode (independent/complementary).
388
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_pwm.h
base_time_counter_initial_value#
uint32_t sl_pwm_config_t::base_time_counter_initial_value
PWM base time counter initial value.
389
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_pwm.h
duty_cycle#
uint8_t sl_pwm_config_t::duty_cycle
PWM duty cycle.
390
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_pwm.h
base_timer_mode#
uint8_t sl_pwm_config_t::base_timer_mode
PWM base timer mode.
391
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_pwm.h
channel_timer_selection#
uint8_t sl_pwm_config_t::channel_timer_selection
PWM channel timer selection.
392
of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_pwm.h