For testing qrsa components or simulating the entire module, we need mocks for hardware. We also need a clear interface layer for both mock hardware and real hardware.
Implementation Proposal
Use embedded-hal as an interface for mock hardware and real hardware.
Tasks
[ ] Design interfaces for hardware components (Interface definition should be flexible for future devices)
[ ] Implement those interfaces on hardware abstraction layer with hal library
Hardware mock implementation
Background
For testing qrsa components or simulating the entire module, we need mocks for hardware. We also need a clear interface layer for both mock hardware and real hardware.
Implementation Proposal
Use embedded-hal as an interface for mock hardware and real hardware.
Tasks