#include <HardwareSerial.h>
Public Member Functions | |
void | _rx_complete_irq (void) |
void | _tx_udr_empty_irq (void) |
virtual int | available (void) |
virtual int | availableForWrite (void) |
void | begin (unsigned long baud) |
void | begin (unsigned long, uint8_t) |
void | end () |
virtual void | flush (void) |
HardwareSerial (volatile uint8_t *ubrrh, volatile uint8_t *ubrrl, volatile uint8_t *ucsra, volatile uint8_t *ucsrb, volatile uint8_t *ucsrc, volatile uint8_t *udr) | |
operator bool () | |
virtual int | peek (void) |
virtual int | read (void) |
virtual 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) |
Public Member Functions inherited from Stream | |
bool | find (char *target) |
bool | find (uint8_t *target) |
bool | find (char *target, size_t length) |
bool | find (uint8_t *target, size_t length) |
bool | find (char target) |
bool | findUntil (char *target, char *terminator) |
bool | findUntil (uint8_t *target, char *terminator) |
bool | findUntil (char *target, size_t targetLen, char *terminate, size_t termLen) |
bool | findUntil (uint8_t *target, size_t targetLen, char *terminate, size_t termLen) |
unsigned long | getTimeout (void) |
float | parseFloat (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) |
long | parseInt (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR) |
size_t | readBytes (char *buffer, size_t length) |
size_t | readBytes (uint8_t *buffer, size_t length) |
size_t | readBytesUntil (char terminator, char *buffer, size_t length) |
size_t | readBytesUntil (char terminator, uint8_t *buffer, size_t length) |
String | readString () |
String | readStringUntil (char terminator) |
void | setTimeout (unsigned long timeout) |
Stream () | |
Public Member Functions inherited from Print | |
void | clearWriteError () |
int | getWriteError () |
Print () | |
size_t | print (const __FlashStringHelper *) |
size_t | print (const String &) |
size_t | print (const char[]) |
size_t | print (char) |
size_t | print (unsigned char, int=DEC) |
size_t | print (int, int=DEC) |
size_t | print (unsigned int, int=DEC) |
size_t | print (long, int=DEC) |
size_t | print (unsigned long, int=DEC) |
size_t | print (double, int=2) |
size_t | print (const Printable &) |
size_t | println (const __FlashStringHelper *) |
size_t | println (const String &s) |
size_t | println (const char[]) |
size_t | println (char) |
size_t | println (unsigned char, int=DEC) |
size_t | println (int, int=DEC) |
size_t | println (unsigned int, int=DEC) |
size_t | println (long, int=DEC) |
size_t | println (unsigned long, int=DEC) |
size_t | println (double, int=2) |
size_t | println (const Printable &) |
size_t | println (void) |
size_t | write (const char *str) |
virtual size_t | write (const uint8_t *buffer, size_t size) |
size_t | write (const char *buffer, size_t size) |
Protected Attributes | |
unsigned char | _rx_buffer [SERIAL_RX_BUFFER_SIZE] |
volatile rx_buffer_index_t | _rx_buffer_head |
volatile rx_buffer_index_t | _rx_buffer_tail |
unsigned char | _tx_buffer [SERIAL_TX_BUFFER_SIZE] |
volatile tx_buffer_index_t | _tx_buffer_head |
volatile tx_buffer_index_t | _tx_buffer_tail |
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 |
Protected Attributes inherited from Stream | |
unsigned long | _startMillis |
unsigned long | _timeout |
Additional Inherited Members | |
Protected Member Functions inherited from Stream | |
int | findMulti (struct MultiTarget *targets, int tCount) |
float | parseFloat (char ignore) |
long | parseInt (char ignore) |
int | peekNextDigit (LookaheadMode lookahead, bool detectDecimal) |
int | timedPeek () |
int | timedRead () |
Protected Member Functions inherited from Print | |
void | setWriteError (int err=1) |
Definition at line 93 of file HardwareSerial.h.
|
inline |
|
inline |
Definition at line 121 of file HardwareSerial.h.
void HardwareSerial::begin | ( | unsigned | long, |
uint8_t | |||
) |
void HardwareSerial::end | ( | ) |
|
inline |
Definition at line 135 of file HardwareSerial.h.
|
virtual |
Implements Print.
|
inline |
Definition at line 130 of file HardwareSerial.h.
|
inline |
Definition at line 131 of file HardwareSerial.h.
|
inline |
Definition at line 132 of file HardwareSerial.h.
|
inline |
Definition at line 133 of file HardwareSerial.h.
|
protected |
Definition at line 113 of file HardwareSerial.h.
|
protected |
Definition at line 105 of file HardwareSerial.h.
|
protected |
Definition at line 106 of file HardwareSerial.h.
|
protected |
Definition at line 114 of file HardwareSerial.h.
|
protected |
Definition at line 107 of file HardwareSerial.h.
|
protected |
Definition at line 108 of file HardwareSerial.h.
|
protected |
Definition at line 96 of file HardwareSerial.h.
|
protected |
Definition at line 97 of file HardwareSerial.h.
|
protected |
Definition at line 98 of file HardwareSerial.h.
|
protected |
Definition at line 99 of file HardwareSerial.h.
|
protected |
Definition at line 100 of file HardwareSerial.h.
|
protected |
Definition at line 101 of file HardwareSerial.h.
|
protected |
Definition at line 103 of file HardwareSerial.h.