24 #ifndef BUFFEREDSERIAL_H 25 #define BUFFEREDSERIAL_H 92 BufferedSerial(PinName tx, PinName rx, uint32_t buf_size = 256, uint32_t tx_multiple = 4,
const char* name=NULL);
112 virtual int getc(
void);
118 virtual int putc(
int c);
124 virtual int puts(
const char *s);
130 virtual int printf(
const char* format, ...);
137 virtual ssize_t
write(
const void *s, std::size_t length);
virtual ssize_t write(const void *s, std::size_t length)
BufferedSerial(PinName tx, PinName rx, uint32_t buf_size=256, uint32_t tx_multiple=4, const char *name=NULL)
Software buffers and interrupt driven tx and rx for Serial.
virtual int readable(void)
virtual int puts(const char *s)
virtual int printf(const char *format,...)
virtual ~BufferedSerial(void)
virtual int writeable(void)
Software Buffer - Templated Ring Buffer for most data types.