Initial commit for UARTConnect module
* Keyboard interconnect using two uarts * Supports daisy chain addressing using a master/slave direction communication scheme - Still needs more testing - Functions have been tested alone to be generally working
This commit is contained in:
parent
aeaaaaa468
commit
ed71f7fad5
9 changed files with 1108 additions and 4 deletions
|
@ -1467,7 +1467,9 @@ typedef struct {
|
|||
#define UART0_IR *(volatile uint8_t *)0x4006A00E // UART Infrared Register
|
||||
#define UART0_PFIFO *(volatile uint8_t *)0x4006A010 // UART FIFO Parameters
|
||||
#define UART_PFIFO_TXFE (uint8_t)0x80
|
||||
#define UART_PFIFO_TXFIFOSIZE (uint8_t)0x70
|
||||
#define UART_PFIFO_RXFE (uint8_t)0x08
|
||||
#define UART_PFIFO_RXFIFOSIZE (uint8_t)0x07
|
||||
#define UART0_CFIFO *(volatile uint8_t *)0x4006A011 // UART FIFO Control Register
|
||||
#define UART_CFIFO_TXFLUSH (uint8_t)0x80 //
|
||||
#define UART_CFIFO_RXFLUSH (uint8_t)0x40 //
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue