MAX3100, an external serial device to add additional serial ports via SPI
Diff: MAX3100.h
- Revision:
- 3:6304e14baed8
- Parent:
- 2:2a49171453d5
--- a/MAX3100.h Fri Aug 03 12:28:27 2012 +0000 +++ b/MAX3100.h Tue Aug 04 06:47:16 2020 +0000 @@ -26,6 +26,7 @@ #ifndef MBED_H #include "mbed.h" +#include <Stream.h> #endif #ifndef MAX3100_TX_BUFFER_SIZE @@ -156,8 +157,8 @@ // calculate byte parity. int parityCal(uint8_t c); - // http://mbed.org/forum/bugs-suggestions/topic/1498 - void topic_1498(PinName p); + // // http://mbed.org/forum/bugs-suggestions/topic/1498 + // void topic_1498(PinName p); public: @@ -308,12 +309,12 @@ */ void flushRxBuffer(void) { rx_buffer_in = rx_buffer_out = 0; rx_buffer_full = false; } - /** irqMask - * Setup the mask for enable/disable interrupts. - * @see example3.h - * @param PinName p The InterruptIn pin. - */ - void irqMask(PinName p); + // /** irqMask + // * Setup the mask for enable/disable interrupts. + // * @see example3.h + // * @param PinName p The InterruptIn pin. + // */ + // void irqMask(PinName p); /** attach_cs * Attach a C style callback function pointer. Used if an external function