BayEOS-Arduino  1.8.0_0.0.4
Public Member Functions | Protected Attributes | List of all members
HardwareSerialPlus Class Reference
Inheritance diagram for HardwareSerialPlus:

Public Member Functions

 HardwareSerialPlus (volatile uint8_t *ubrrh, volatile uint8_t *ubrrl, volatile uint8_t *ucsra, volatile uint8_t *ucsrb, volatile uint8_t *ucsrc, volatile uint8_t *udr, unsigned char *rxbuffer, uint16_t rxsize, unsigned char *txbuffer, uint16_t txsize)
 
void setRxBuffer (unsigned char *buffer, uint16_t size)
 
void setTxBuffer (unsigned char *buffer, uint16_t size)
 
void begin (unsigned long baud)
 
void begin (unsigned long, uint8_t)
 
void end ()
 
int available (void)
 
int peek (void)
 
void flush (void)
 
int read (void)
 
int availableForWrite (void)
 
size_t write (uint8_t)
 
size_t write (unsigned long n)
 
size_t write (long n)
 
size_t write (unsigned int n)
 
size_t write (int n)
 
 operator bool ()
 
void _rx_complete_irq (void)
 
void _tx_udr_empty_irq (void)
 

Protected Attributes

volatile uint8_t *const _ubrrh
 
volatile uint8_t *const _ubrrl
 
volatile uint8_t *const _ucsra
 
volatile uint8_t *const _ucsrb
 
volatile uint8_t *const _ucsrc
 
volatile uint8_t *const _udr
 
bool _written
 
volatile uint16_t _rx_buffer_head
 
volatile uint16_t _rx_buffer_tail
 
volatile uint16_t _tx_buffer_head
 
volatile uint16_t _tx_buffer_tail
 
uint16_t _rx_buffer_size
 
uint16_t _tx_buffer_size
 
unsigned char * _rx_buffer
 
unsigned char * _tx_buffer
 

Detailed Description

Definition at line 32 of file HardwareSerialPlus.h.


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