1 struct headset_mode_settings
{
2 int pwm_width
; //pwm frequence
3 int pwm_thresh
; //pwm duty
4 int fall_delay
; //falling stable time
5 int rise_delay
; //rising stable time
6 int debounce0
; //hook switch or double check debounce
7 int debounce1
; //mic bias debounce
8 int debounce3
; //plug out debounce
11 //key press customization: long press time
12 struct headset_key_custom
{
13 int headset_long_press_time
;