serialport.hpp File Reference

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

Detailed Description

Definition of the Arduino 'Serial' interface.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file serialport.hpp.

#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

Formatting options for Serial.print(int, format)

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.