Alexandre Lemay / Mbed 2 deprecated APP4_FunTimes

Dependencies:   mbed mbed-rtos

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers defines.h Source File

defines.h

00001 #ifndef DEFINES_H
00002 #define DEFINES_H
00003 
00004 
00005 // Test for minimal period
00006 //#define TESTPERIOD
00007 
00008 #ifndef TESTPERIOD
00009 
00010 extern const int us_period ;
00011 extern const int us_timeout ;
00012 extern const int us_prepare ;
00013 
00014 #else
00015 extern int us_period ;
00016 #define us_timeout us_period*5/4
00017 #define us_prepare us_period*3/4
00018 
00019 #endif
00020 
00021 extern const unsigned char preamble_byte ;
00022 
00023 extern const unsigned char STARTBYTE ;
00024 extern const unsigned char ENDBYTE ;
00025 
00026 
00027 #endif