/** * @file switch_debouncer.h * @brief EPB-Schalter mit Software-Entprellung. * * @arch SWA-006 * @reqs SWE-025 * * ASIL: QM */ #ifndef SWITCH_DEBOUNCER_H #define SWITCH_DEBOUNCER_H #include "epb_types.h" /** Step-Zyklus 10 ms. Debounce-Schwelle 50 ms (5 stabile Samples). */ #define SWITCH_DEBOUNCE_SAMPLES 5 EpbStatus switch_init(void); void switch_step_10ms(SwitchRaw raw); SwitchState switch_get_state(void); #endif /* SWITCH_DEBOUNCER_H */