serialport.hpp File Reference

Definition of the Arduino 'Serial' interface. More...

Detailed Description

#include "ringbuffer.h"
#include "periph/uart.h"
+ Include dependency graph for serialport.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  SerialPort
 Arduino Serial Interface. More...
 
#define SERIAL_RX_BUFSIZE   (64)
 Default RX buffer size - same as the original Arduino...
 
enum  SerialFormat { BIN, OCT, DEC, HEX }
 Formatting options for Serial.print(int, format) More...
 

Enumeration Type Documentation

◆ SerialFormat

Enumerator
BIN 

format to binary representation

OCT 

format to octal representation

DEC 

format to decimal representation

HEX 

format to hex representation

Definition at line 35 of file serialport.hpp.