by schumi2000

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers sys.h Source File

sys.h

00001 #include "mbed.h"
00002 
00003 #define FALSE                   0
00004 #define TRUE                    1
00005 typedef unsigned  char u8;
00006 
00007 typedef unsigned            char uint8_t;
00008 typedef unsigned short     int uint16_t;
00009 typedef unsigned           int uint32_t;
00010 //typedef unsigned       __INT64 uint64_t;
00011 
00012 
00013 typedef uint32_t  u32;
00014 typedef uint16_t u16;
00015 typedef uint8_t  u8;
00016 
00017 void reverse_u16(uint16_t *temp);
00018 void reverse_u32(uint32_t *temp);
00019 void reverse_u64(uint64_t *temp);
00020 
00021 void HexOutput(const char* buf, int len);
00022 void HexToStr(char *pbDest, char *pbSrc, int nLen);