16
16
License along with this library; if not, write to the Free Software
17
17
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
18
19
- Modified 28 September 2010 by Mark Sproul
19
+ Modified 12 August 2012 by Alarus
20
20
*/
21
21
22
22
#ifndef HardwareSerial_h
@@ -37,6 +37,7 @@ class HardwareSerial : public Stream
37
37
volatile uint8_t *_ubrrl;
38
38
volatile uint8_t *_ucsra;
39
39
volatile uint8_t *_ucsrb;
40
+ volatile uint8_t *_ucsrc;
40
41
volatile uint8_t *_udr;
41
42
uint8_t _rxen;
42
43
uint8_t _txen;
@@ -47,9 +48,10 @@ class HardwareSerial : public Stream
47
48
HardwareSerial (ring_buffer *rx_buffer, ring_buffer *tx_buffer,
48
49
volatile uint8_t *ubrrh, volatile uint8_t *ubrrl,
49
50
volatile uint8_t *ucsra, volatile uint8_t *ucsrb,
50
- volatile uint8_t *udr,
51
+ volatile uint8_t *ucsrc, volatile uint8_t * udr,
51
52
uint8_t rxen, uint8_t txen, uint8_t rxcie, uint8_t udrie, uint8_t u2x);
52
53
void begin (unsigned long );
54
+ void begin (unsigned long , byte, char , byte);
53
55
void end ();
54
56
virtual int available (void );
55
57
virtual int peek (void );
0 commit comments