git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UDI/16c550 - Untested TX, planning RX
[tpg/acess2.git]
/
UDI
/
drivers
/
uart_16c550
/
uart16c550_common.h
diff --git
a/UDI/drivers/uart_16c550/uart16c550_common.h
b/UDI/drivers/uart_16c550/uart16c550_common.h
index
1c70277
..
5b91bf5
100644
(file)
--- a/
UDI/drivers/uart_16c550/uart16c550_common.h
+++ b/
UDI/drivers/uart_16c550/uart16c550_common.h
@@
-20,6
+20,8
@@
enum {
N_PIO
};
+#define RX_BUFFER_SIZE 32
+
typedef struct {
udi_cb_t *active_cb;
struct {
@@
-28,6
+30,8
@@
typedef struct {
udi_pio_handle_t pio_handles[N_PIO];
udi_channel_t interrupt_channel;
+
+ udi_ubit8_t rx_bytes;
udi_buf_t *rx_buffer;
} rdata_t;
UCC
git Repository :: git.ucc.asn.au