Inherit from SoftSerial and use software buffers for TX and RX. This allows the SoftSerial to operate in a IRQ driven mode. Overrides most (but not all) stdio functions as SoftSerial did

Dependencies:   Buffer SoftSerial

Dependents:   2014_Ensoul_Capstone F103RB_tcp_rtu_modbus_copy_v1_0 SDP_Testing Nucleo_SFM

Fork of BufferedSerial by Sam Grove

Todo: Write something here :)

Changes

RevisionDateWhoCommit message
10:671a6724ce79 2014-07-05 Sissors Little bit faster initial read default tip
9:5b069a1896f9 2014-07-05 Sissors Changed destructor
8:a0fc30c0e231 2014-04-27 Sissors Added send break
7:58d0adeb95aa 2014-04-27 Sissors Added custom Ticker lib to allow for baudrates up to 57600
6:4e3e18b41ea6 2014-04-26 Sissors BufferedSerial -> BufferedSoftSerial
5:4d6a311fc8bf 2014-03-24 sam_grove Updated example in documentation. Tested with mbed.bld 81 and works with LPC1768, LPC11U24, KL25Z, KL46Z, KL05Z
4:2ba4d2e1f05d 2013-12-30 sam_grove Disable TX IRQ when nothing is left in the buffer (FRDM support). Tested example program with KL46Z, KL25Z and LPC11U24. LPC1768 doesn't work. Need to investigate.
3:6b76fcf27545 2013-06-12 sam_grove Updates to block only tx irq when fifo needs a kick. Updated comments and documentation
2:7e8a450a9101 2013-05-24 sam_grove Override virtual member write. Better management of prime to avoid contentious writes under heavy traffic. updated puts to add \n per stdlib puts definition
1:57a11fb5d529 2013-05-23 sam_grove Added prime (private member).Only want to pull from the buffer and write in one spot. prime stops irq's and call the member txIrq to put the oldest buffered byte in the transmitter. IRQ will pull the rest out once enabled again.
0:a977d0a3d81e 2013-05-23 sam_grove TX and RX peripheral functions are IRQ driven. Most stdlib functions are overridden for transmit. Not so much for reading. getc is implemented but not the more formatted scanf.