-
Notifications
You must be signed in to change notification settings - Fork 0
GPIO Button Driver and Capture Trigger #5
Copy link
Copy link
Closed
Description
Implement GPIO input handling for a momentary push button that will trigger the OCR capture pipeline. Uses either a kernel IRQ handler or userspace libgpiod edge detection. Includes software debounce logic.
DoD:
- Physical button wired to a GPIO pin
- Button press detected via IRQ or libgpiod
- Software debounce prevents multiple triggers from a single press (debounce window documented)
- Button event is communicated to userspace via device node, Unix socket, or signal
- Test program demonstrates: press button creates event logged with timestamp to syslog
- 20 consecutive presses produce exactly 20 events
- GPIO pin conflict check documented (no conflict with I2C, SPI, UART)
- Source committed with Yocto recipe integrating into the image
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels