Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EthernetInterface mbed-rtos
UART.h@1:f74116b37bc9, 2013-07-08 (annotated)
- Committer:
- ysuga
- Date:
- Mon Jul 08 07:14:30 2013 +0000
- Revision:
- 1:f74116b37bc9
- Parent:
- 0:5f7bc45bc2e8
Update for V4 RTno
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ysuga | 0:5f7bc45bc2e8 | 1 | #ifndef UART_HEADER_INCLUDED |
ysuga | 0:5f7bc45bc2e8 | 2 | #define UART_HEADER_INCLUDED |
ysuga | 0:5f7bc45bc2e8 | 3 | |
ysuga | 0:5f7bc45bc2e8 | 4 | #include "SerialDevice.h" |
ysuga | 0:5f7bc45bc2e8 | 5 | |
ysuga | 0:5f7bc45bc2e8 | 6 | void UART_init(unsigned char num, unsigned long baudrate); |
ysuga | 0:5f7bc45bc2e8 | 7 | void UART_putc(const char c); |
ysuga | 0:5f7bc45bc2e8 | 8 | uint8_t UART_available(); |
ysuga | 1:f74116b37bc9 | 9 | uint8_t UART_getc(); |
ysuga | 0:5f7bc45bc2e8 | 10 | |
ysuga | 0:5f7bc45bc2e8 | 11 | #endif |