forked from mehmetalianil/iis3dwb-rs
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The device driver can be ignorant on how the interrupt is handled. Interrupt functionality can be limited to the conditions of the irq.
@dirbao explained in chat:
tldr today you can either
leave it up to the user, ask them to call a fn on irq
This requires explicit user action.
use async WaitForHigh/WaitForLow
This requires to go for embassy hal
try to come up with a non-async IrqPin trait, but there's been heaps of discussion about this in e-h and it hasn't happened because it's nontrivial (impossible?)
dunno.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels