1855162e6d
Vollstaendige Demo des slohmaier Dev Process anhand einer EPB-Steuergeraet- Software. Zeigt ASPICE 4.0 / ISO 26262-konforme Entwicklung im Monorepo. Inhalte: - 5 Plaene (PID, PM-, QA-, SWE-, Test-Plan) in Word, ausgefuellt mit EPB-spezifischen Inhalten - 10 System-Anforderungen + 25 Software-Anforderungen (Doorstop-MD) - 5 System-Architektur-Elemente + 10 Software-Architektur-Elemente mit PlantUML-Diagrammen und vollstaendigem Mapping - 3 implementierte Komponenten (Apply Controller D, Actuator Driver B, Switch Debouncer QM) plus 7 Header-Stubs - 28 Unit-Tests, alle gruen, mit Coverage- und MISRA-Build-Targets - Audit-Artefakte: 1 Review-Protokoll, 1 Non-Conformity, 1 MISRA-Record - Gitea-Actions-CI-Pipeline (validate.yml) - Doorstop-Konfiguration fuer bidirektionale Traceability - Generator-Skript fuer alle 50 Reqs/Arch-Elemente aus Strukturdaten - README mit gefuehrter Tour fuer Prospects
23 lines
467 B
C
23 lines
467 B
C
/**
|
|
* @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 */
|