Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: BufferedSoftSerial
Diff: SoftSerial.h
- Revision:
- 1:f8b4b764ace7
- Parent:
- 0:8edaa7abe724
- Child:
- 2:9e01a38606b4
--- a/SoftSerial.h Sat Apr 26 14:46:03 2014 +0000 +++ b/SoftSerial.h Sat Apr 26 15:13:01 2014 +0000 @@ -90,13 +90,17 @@ Parity _parity; void rx_gpio_irq_handler(void); - void rx_fall_handler(void); - void rx_handler(bool rise); + void rx_handler(void); + int read_buffer, rx_bit; + volatile int out_buffer; + volatile bool out_valid; + bool rx_error; + Timeout rxout; //tx void tx_handler(void); inline int get_bit(int bit); - Timeout timeout; + Timeout txout; int _char; volatile int tx_bit;