Skip to content
This repository has been archived by the owner on Sep 4, 2018. It is now read-only.

refactor U0 and U1 interfaces #4

Open
fbstj opened this issue Jul 18, 2014 · 1 comment
Open

refactor U0 and U1 interfaces #4

fbstj opened this issue Jul 18, 2014 · 1 comment

Comments

@fbstj
Copy link
Owner

fbstj commented Jul 18, 2014

into putc and getc? with library functions to do proper read/write things and blocking/nonblocking alternatives

@fbstj
Copy link
Owner Author

fbstj commented Aug 12, 2014

  • putc can write a character out directly or buffer/queue it for an interrupt (potentially blocking until it is sent)
  • getc can wait for a character from the device (or quickly fail if non are available), wait for an interrupt, or read a buffered/queued character
  • puts can putc each character, or queue the string and let the interrupt

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant