
Library set up as dummy module on mbed to mimic Nordic.
uart1.h@0:226550611f0d, 2016-12-12 (annotated)
- Committer:
- Stephen_NewVistas
- Date:
- Mon Dec 12 23:06:58 2016 +0000
- Revision:
- 0:226550611f0d
Got system working on bus, calling registered functions with ACK/NACK/RESPONSE. Need to clean up.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Stephen_NewVistas | 0:226550611f0d | 1 | #ifndef UART1_ |
Stephen_NewVistas | 0:226550611f0d | 2 | #define UART1_ |
Stephen_NewVistas | 0:226550611f0d | 3 | |
Stephen_NewVistas | 0:226550611f0d | 4 | #include "comms.h" |
Stephen_NewVistas | 0:226550611f0d | 5 | |
Stephen_NewVistas | 0:226550611f0d | 6 | #ifdef __cplusplus |
Stephen_NewVistas | 0:226550611f0d | 7 | extern "C" { |
Stephen_NewVistas | 0:226550611f0d | 8 | #endif |
Stephen_NewVistas | 0:226550611f0d | 9 | |
Stephen_NewVistas | 0:226550611f0d | 10 | void init_uart1(void); |
Stephen_NewVistas | 0:226550611f0d | 11 | int uart1_is_char(void); |
Stephen_NewVistas | 0:226550611f0d | 12 | int uart1_get_char(void); |
Stephen_NewVistas | 0:226550611f0d | 13 | void send_uart1_char(unsigned char c); |
Stephen_NewVistas | 0:226550611f0d | 14 | |
Stephen_NewVistas | 0:226550611f0d | 15 | #ifdef __cplusplus |
Stephen_NewVistas | 0:226550611f0d | 16 | } |
Stephen_NewVistas | 0:226550611f0d | 17 | #endif |
Stephen_NewVistas | 0:226550611f0d | 18 | |
Stephen_NewVistas | 0:226550611f0d | 19 | #endif |