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 ... more

Fork of BufferedSerial by Sam Grove

Todo: Write something here :)

History

Little bit faster initial read default tip

2014-07-05, by Sissors [Sat, 05 Jul 2014 13:23:03 +0000] rev 10

Little bit faster initial read


Changed destructor

2014-07-05, by Sissors [Sat, 05 Jul 2014 08:08:07 +0000] rev 9

Changed destructor


Added send break

2014-04-27, by Sissors [Sun, 27 Apr 2014 19:48:49 +0000] rev 8

Added send break


Added custom Ticker lib to allow for baudrates up to 57600

2014-04-27, by Sissors [Sun, 27 Apr 2014 08:33:35 +0000] rev 7

Added custom Ticker lib to allow for baudrates up to 57600


BufferedSerial -> BufferedSoftSerial

2014-04-26, by Sissors [Sat, 26 Apr 2014 20:55:42 +0000] rev 6

BufferedSerial -> BufferedSoftSerial


Updated example in documentation. Tested with mbed.bld 81 and works with LPC1768, LPC11U24, KL25Z, KL46Z, KL05Z

2014-03-24, by sam_grove [Mon, 24 Mar 2014 19:56:57 +0000] rev 5

Updated example in documentation. Tested with mbed.bld 81 and works with LPC1768, LPC11U24, KL25Z, KL46Z, KL05Z


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.

2013-12-30, by sam_grove [Mon, 30 Dec 2013 18:16:39 +0000] rev 4

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.


Updates to block only tx irq when fifo needs a kick. Updated comments and documentation

2013-06-12, by sam_grove [Wed, 12 Jun 2013 20:40:15 +0000] rev 3

Updates to block only tx irq when fifo needs a kick. Updated comments and documentation


Override virtual member write. Better management of prime to avoid contentious writes under heavy traffic. updated puts to add \n per stdlib puts definition

2013-05-24, by sam_grove [Fri, 24 May 2013 22:00:26 +0000] rev 2

Override virtual member write. Better management of prime to avoid contentious writes under heavy traffic. updated puts to add \n per stdlib puts definition


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.

2013-05-23, by sam_grove [Thu, 23 May 2013 23:47:04 +0000] rev 1

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.