-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an `.into_irq()` to the Uart device that turns it into an interrupt driven interface. Currently, read is implemented, with a `.try_read()` method that will try, with a timeout, to read data from the interface. The methods are all marked as 'unsafe' currently, until a more thorough safety analysis can be made. Signed-off-by: David Brown <[email protected]>
- Loading branch information
Showing
2 changed files
with
207 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters