--- active: true derived: false header: 'Switch Debouncer' level: 1.6 normative: true reviewed: null links: - SWE-025 asil: QM --- # SWA-006: Switch Debouncer ## Responsibility Software debouncing of the EPB switch. Provides a stable apply / release signal to the apply controller. Implemented in `src/switch_debouncer.c`. ## Provided interfaces ```c Status switch_init(void); void switch_step_10ms(SwitchRaw raw); SwitchState switch_get_state(void); ``` ## Mapping to requirements | Requirement | How covered | |-------------|-------------| | SWE-025 | 50 ms debounce logic |