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.
Fork of MODSERIAL by
Diff: ChangeLog.c
- Revision:
- 18:21ef26402365
- Parent:
- 17:6c9b57c14868
- Child:
- 20:59c74aaedda2
--- a/ChangeLog.c Tue Mar 08 01:42:25 2011 +0000 +++ b/ChangeLog.c Thu Apr 21 09:20:41 2011 +0000 @@ -1,5 +1,21 @@ /* $Id:$ +1.18 20 April 2011 + + * All callbacks now use MODSERIAL_callback (rather than Mbed's FunctionPointer[1] type) + to store and invoke it's callbacks. This allows MODSERIAL to pass a parameter + to callbacks. The function prototype is now void func(MODSERIAL_IRQ_INFO *q). + * Callbacks now pass a pointer to a MODSERIAL_IRQ_INFO class type. + This class holds a pointer to the MODSERIAL object that invoked the callback + thus freeing callbacks need to use the global variable of the original + MODSERIAL instance. + * MODSERIAL_IRQ_INFO also declares public functions that are protected within MODSERIAL + thus allowing certain functions to be restricted to callback context only. + * New function MODSERIAL_IRQ_INFO::rxDiscardLastChar() allows an rxCallback function + to remove the character that was just placed into the RX buffer. + + [1] http://mbed.org/users/AjK/libraries/FPointer/latest/docs/ + 1.17 08/Mar/2011 Fixed a memory leak in the DMA code. @@ -38,7 +54,7 @@ 1.10 - 23/11/2010 - * Reanme the DMA callback from attach_dma_complete() to attach_dmaSendComplete() + * Rename the DMA callback from attach_dma_complete() to attach_dmaSendComplete() 1.9 - 23/11/2010