TFC-Mentoring-Matters-Abstraction

Dependencies:   FRDM-TFC

Revision:
0:0699eb71778e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common.h	Wed Jul 16 15:36:33 2014 +0000
@@ -0,0 +1,22 @@
+#include "mbed.h"
+
+#ifndef _COMMON_H
+#define _COMMON_H
+
+//This macro is to maintain compatibility with Codewarrior version of the sample.   This version uses the MBED libraries for serial port access
+extern Serial PC;
+
+#define TERMINAL_PRINTF     PC.printf
+
+ 
+ //This ticker code is used to maintain compability with the Codewarrior version of the sample.   This code uses an MBED Ticker for background timing.
+ 
+#define NUM_TFC_TICKERS 4
+
+extern Ticker TFC_TickerObj;
+ 
+
+extern volatile uint32_t TFC_Ticker[NUM_TFC_TICKERS];
+
+
+#endif
\ No newline at end of file