#include <FastSerial.h>
Inherits BetterStream.
Classes | |
struct | Buffer |
Public Member Functions | |
FastSerial (const uint8_t portNumber, volatile uint8_t *ubrrh, volatile uint8_t *ubrrl, volatile uint8_t *ucsra, volatile uint8_t *ucsrb, const uint8_t u2x, const uint8_t portEnableBits, const uint8_t portTxBits) | |
virtual void | begin (long baud) |
virtual void | begin (long baud, unsigned int rxSpace, unsigned int txSpace) |
virtual void | end (void) |
virtual int | available (void) |
virtual int | read (void) |
virtual int | peek (void) |
virtual void | flush (void) |
virtual void | write (uint8_t c) |
Definition at line 89 of file FastSerial.h.
FastSerial::FastSerial | ( | const uint8_t | portNumber, | |
volatile uint8_t * | ubrrh, | |||
volatile uint8_t * | ubrrl, | |||
volatile uint8_t * | ucsra, | |||
volatile uint8_t * | ucsrb, | |||
const uint8_t | u2x, | |||
const uint8_t | portEnableBits, | |||
const uint8_t | portTxBits | |||
) |
Definition at line 56 of file FastSerial.cpp.
int FastSerial::available | ( | void | ) | [virtual] |
Reimplemented from Stream.
Definition at line 163 of file FastSerial.cpp.
void FastSerial::begin | ( | long | baud | ) | [virtual] |
Definition at line 82 of file FastSerial.cpp.
void FastSerial::begin | ( | long | baud, | |
unsigned int | rxSpace, | |||
unsigned int | txSpace | |||
) | [virtual] |
Definition at line 99 of file FastSerial.cpp.
void FastSerial::end | ( | void | ) | [virtual] |
Definition at line 153 of file FastSerial.cpp.
void FastSerial::flush | ( | void | ) | [virtual] |
Definition at line 200 of file FastSerial.cpp.
int FastSerial::peek | ( | void | ) | [virtual] |
Definition at line 187 of file FastSerial.cpp.
int FastSerial::read | ( | void | ) | [virtual] |
Reimplemented from Stream.
Definition at line 171 of file FastSerial.cpp.
void FastSerial::write | ( | uint8_t | c | ) | [virtual] |
Reimplemented from Stream.
Definition at line 220 of file FastSerial.cpp.