Classes | Public Member Functions

FastSerial Class Reference

#include <FastSerial.h>

Inherits BetterStream.

Collaboration diagram for FastSerial:
Collaboration graph
[legend]

List of all members.

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)

Detailed Description

Definition at line 89 of file FastSerial.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


The documentation for this class was generated from the following files: