TFC-Mentoring-Matters-Abstraction

Dependencies:   FRDM-TFC

common.h

Committer:
mrkeithcyr
Date:
2014-07-16
Revision:
0:0699eb71778e

File content as of revision 0:0699eb71778e:

#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