a47e0aed3e
Phase 1 of full English translation: - generate_doorstop_items.py: all 55 items (SG/SYS/SWE/SA/SWA) rewritten in English - generate_landing_page.py: full UI labels, KPI cards, section headings in English - traceability.py: docstring, error messages, HTML headers in English - generate_test_report.py: report content + table headers in English - All 55 markdown items in safety/sg/, reqs/, arch/ regenerated in English Still to come: - demo-epb filled Word docs (PID, plans, safety, manuals, audit artefacts) - Code comments + test names + CI workflow step names - README + dev-process repo templates
34 lines
588 B
Markdown
34 lines
588 B
Markdown
---
|
|
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 |
|