Structure to hold the parameters of timer configurations.

Public Attributes#

PWM channel selection(ch0 to ch4)

uint32_t

PWM frequency.

boolean_t

PWM output polarity for low side.

boolean_t

PWM output polarity for high side.

boolean_t

PWM mode(independent/complementary)

uint32_t

PWM base time counter initial value.

uint8_t

PWM duty cycle.

uint8_t

PWM base timer mode.

uint8_t

PWM channel timer selection.

Public Attribute Documentation#

channel#

sl_pwm_channel_t sl_pwm_config_t::channel

PWM channel selection(ch0 to ch4)


Definition at line 251 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.


Definition at line 252 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 low side.


Definition at line 253 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 high side.


Definition at line 254 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)


Definition at line 255 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.


Definition at line 256 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.


Definition at line 257 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.


Definition at line 258 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.


Definition at line 259 of file components/device/silabs/si91x/mcu/drivers/unified_api/inc/sl_si91x_pwm.h