This commit is contained in:
Robert Morris 2019-07-28 07:43:22 -04:00
parent 2d89a101c4
commit 1ec50c5848

View file

@ -15,8 +15,9 @@
// address of one of the registers.
#define Reg(reg) ((volatile unsigned char *)(UART0 + reg))
// the registers. some have different meanings for
// read and write.
// the UART control registers.
// some have different meanings for
// read vs write.
// http://byterunner.com/16550.html
#define RHR 0 // receive holding register (for input bytes)
#define THR 0 // transmit holding register (for output bytes)