Commit Graph

3 Commits

Author SHA1 Message Date
Byron Lathi
340f43103a Fix bug where A was overwritten in _uart_txb_block
If you wanted to transmit a value and then check what it was, you can do
that now.
2022-03-14 22:19:19 -05:00
Byron Lathi
8e161664bb Add uart_rxb
Once you receive a uart interrupt you can call this function to get the
received character.
2022-03-14 16:48:24 -05:00
Byron Lathi
0b5ccf48b8 Add basic UART driver
This didn't have a chance to get tested so I hope it works.

There is not fancy stuff here, just write to the register and wait till
it is done.
2022-03-14 00:24:08 -05:00