mbed library with additional peripherals for ST F401 board
Fork of mbed-src by
This mbed LIB has additional peripherals for ST F401 board
- UART2 : PA_3 rx, PA_2 tx
- UART3 : PC_7 rx, PC_6 tx
- I2C2 : PB_3 SDA, PB_10 SCL
- I2C3 : PB_4 SDA, PA_8 SCL
Diff: api/RawSerial.h
- Revision:
- 64:7b352733b00a
- Parent:
- 36:ab3ee77451e7
--- a/api/RawSerial.h Thu Dec 19 09:00:06 2013 +0000 +++ b/api/RawSerial.h Thu Dec 19 13:15:07 2013 +0000 @@ -71,6 +71,16 @@ * @returns The char read from the serial port */ int getc(); + + /** Write a string to the serial port + * + * @param str The string to write + * + * @returns 0 if the write succeeds, EOF for error + */ + int puts(const char *str); + + int printf(const char *format, ...); }; } // namespace mbed