Structure to configure voltage percentage thresholds for multiple buttons.
This structure is used to define the minimum and maximum voltage percentages for up to three buttons. These thresholds can be used for percentage-based button detection or monitoring.
Note
The supported percentage range for button thresholds is 33% to 66%. For example, with a maximum battery voltage (VBATT) of 3.3V, valid threshold voltages for button configuration range from approximately 1.1V (33%) to 2.17V (66%). Values outside this range are not supported by the hardware. This structure is useful for applications where button activation is based on battery voltage levels rather than fixed voltage thresholds.
Public Attributes#
Enable or disable button wakeup functionality.
Minimum voltage percentage for Button 1.
Maximum voltage percentage for Button 1.
Minimum voltage percentage for Button 2.
Maximum voltage percentage for Button 2.
Minimum voltage percentage for Button 3.
Maximum voltage percentage for Button 3.
Public Attribute Documentation#
button_wakeup_enable
boolean_t sl_bod_button_uc_config_param_t::button_wakeup_enable
Enable or disable button wakeup functionality.
button_1_min_voltage_percentage
float sl_bod_button_uc_config_param_t::button_1_min_voltage_percentage
Minimum voltage percentage for Button 1.
button_1_max_voltage_percentage
float sl_bod_button_uc_config_param_t::button_1_max_voltage_percentage
Maximum voltage percentage for Button 1.
button_2_min_voltage_percentage
float sl_bod_button_uc_config_param_t::button_2_min_voltage_percentage
Minimum voltage percentage for Button 2.
button_2_max_voltage_percentage
float sl_bod_button_uc_config_param_t::button_2_max_voltage_percentage
Maximum voltage percentage for Button 2.
button_3_min_voltage_percentage
float sl_bod_button_uc_config_param_t::button_3_min_voltage_percentage
Minimum voltage percentage for Button 3.
button_3_max_voltage_percentage
float sl_bod_button_uc_config_param_t::button_3_max_voltage_percentage
Maximum voltage percentage for Button 3.