Stephen Davis
/
BT_Hub
Library set up as dummy module on mbed to mimic Nordic.
uart1.h@2:9ab591cf81b8, 2016-12-13 (annotated)
- Committer:
- Stephen_NewVistas
- Date:
- Tue Dec 13 00:20:29 2016 +0000
- Revision:
- 2:9ab591cf81b8
- Parent:
- 0:226550611f0d
everything commented . now going to strip out mbed stuff.
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 |