HardwareSerial::HardwareSerial() Function

Constructed function of HardwareSerial Class - Hardware serial library for Wiring

Syntax

HardwareSerial::HardwareSerial(ring_buffer *rx_buffer, volatile uint8_t *ubrrh, volatile uint8_t *ubrrl, volatile uint8_t *ucsra, volatile uint8_t *ucsrb, volatile uint8_t *udr, uint8_t rxen, uint8_t txen, uint8_t rxcie,

Parameters

ring_buffer *_rx_buffer;
volatile uint8_t *_ubrrh;
volatile uint8_t *_ubrrl;
volatile uint8_t *_ucsra;
volatile uint8_t *_ucsrb;
volatile uint8_t *_udr;
uint8_t _rxen;
uint8_t _txen;
uint8_t _rxcie;
uint8_t _udre;
uint8_t _u2x;

Return Value

HardwareSerial object

Remarks

Derived from Print class.
Serial, Serial1, Serial2, Serial3 are global HardwareSerial objects which are mapped to USART0 -USART3

Requirements

HardwareSerial.h

Example

N/A