MODSERIAL with support for KL25Z + RTOS (beta, putc + puts currently)

Dependents:   kl25z_USB_4

Fork of MODSERIAL by Erik -

Files at this revision

API Documentation at this revision

Comitter:
AjK
Date:
Tue Apr 26 08:12:45 2011 +0000
Parent:
19:a158936322cc
Child:
21:af2af4c61c2f
Commit message:
1.20 See ChangeLog.c

Changed in this revision

ChangeLog.c Show annotated file Show diff for this revision Revisions of this file
MACROS.h Show annotated file Show diff for this revision Revisions of this file
MODSERIAL.h Show annotated file Show diff for this revision Revisions of this file
MODSERIAL_IRQ_INFO.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/ChangeLog.c	Thu Apr 21 09:39:50 2011 +0000
+++ b/ChangeLog.c	Tue Apr 26 08:12:45 2011 +0000
@@ -1,5 +1,14 @@
 /* $Id:$
 
+1.20    26 April 2011
+
+    * Bug fix, not blocking on transmit
+      by Erik Petrich, http://mbed.org/forum/bugs-suggestions/topic/2200
+      
+1.19    20 April 2011
+
+    * Fixed some doxygen comment bugs.
+    
 1.18    20 April 2011
 
     * All callbacks now use MODSERIAL_callback (rather than Mbed's FunctionPointer[1] type)
--- a/MACROS.h	Thu Apr 21 09:39:50 2011 +0000
+++ b/MACROS.h	Tue Apr 26 08:12:45 2011 +0000
@@ -63,8 +63,8 @@
 #define MODSERIAL_TX_BUFFER_FULL  (buffer_count[TxIrq]==buffer_size[TxIrq])
 #define MODSERIAL_RX_BUFFER_FULL  (buffer_count[RxIrq]==buffer_size[RxIrq])
 
-#define MODSERIAL_THR_HAS_SPACE (int)_LSR&MODSERIAL_LSR_THRE
-#define MODSERIAL_TEMT_IS_EMPTY (int)_LSR&MODSERIAL_LSR_TEMT
-#define MODSERIAL_RBR_HAS_DATA  (int)_LSR&MODSERIAL_LSR_RDR
+#define MODSERIAL_THR_HAS_SPACE ((int)_LSR&MODSERIAL_LSR_THRE)
+#define MODSERIAL_TEMT_IS_EMPTY ((int)_LSR&MODSERIAL_LSR_TEMT)
+#define MODSERIAL_RBR_HAS_DATA  ((int)_LSR&MODSERIAL_LSR_RDR)
 
 #endif
--- a/MODSERIAL.h	Thu Apr 21 09:39:50 2011 +0000
+++ b/MODSERIAL.h	Tue Apr 26 08:12:45 2011 +0000
@@ -159,8 +159,7 @@
      *
      * call the callback function.
      *
-     * @param uint32_t The value to pass to the callback.
-     * @return uint32_t The value the callback returns.
+     * @param A pointer to a MODSERIAL_IRQ_INFO object.
      */
     void call(MODSERIAL_IRQ_INFO *arg) {
         if (c_callback != 0) {
--- a/MODSERIAL_IRQ_INFO.cpp	Thu Apr 21 09:39:50 2011 +0000
+++ b/MODSERIAL_IRQ_INFO.cpp	Tue Apr 26 08:12:45 2011 +0000
@@ -19,7 +19,7 @@
     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
     THE SOFTWARE.
     
-    @file          MODSERIAL_CB.h 
+    @file          MODSERIAL_IRQ_INFO.cpp 
     @author        Andy Kirkham    
 */