![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Anim
Dependencies: BSP_DISCO_F429ZI EEPROM_DISCO_F429ZI FT810 GYRO_DISCO_F429ZI KEYPAD_DISCO_F429ZI LCD_DISCO_F429ZI PinDetect SDRAM_DISCO_F429ZI TS_DISCO_F429ZI mbed
Diff: port.h
- Revision:
- 1:2ceb29686290
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/port.h Wed Jan 24 13:10:37 2018 +0000 @@ -0,0 +1,33 @@ +#ifndef _PORT_H +#define _PORT_H + +#include <assert.h> +#include <inttypes.h> + +#define INLINE //inline +#define PR_BEGIN_EXTERN_C //extern "C" { +#define PR_END_EXTERN_C //} + +#define ENTER_CRITICAL_SECTION( ) +#define EXIT_CRITICAL_SECTION( ) + +typedef uint8_t BOOL; + +typedef unsigned char UCHAR; +typedef char CHAR; + +typedef uint16_t USHORT; +typedef int16_t SHORT; + +typedef uint32_t ULONG; +typedef int32_t LONG; + +#ifndef TRUE +#define TRUE 1 +#endif + +#ifndef FALSE +#define FALSE 0 +#endif + +#endif \ No newline at end of file