by schumi2000

sys.h

Committer:
schumi2000
Date:
2016-08-17
Revision:
0:32964091adbf

File content as of revision 0:32964091adbf:

#include "mbed.h"

#define FALSE                   0
#define TRUE                    1
typedef unsigned  char u8;

typedef unsigned            char uint8_t;
typedef unsigned short     int uint16_t;
typedef unsigned           int uint32_t;
//typedef unsigned       __INT64 uint64_t;


typedef uint32_t  u32;
typedef uint16_t u16;
typedef uint8_t  u8;

void reverse_u16(uint16_t *temp);
void reverse_u32(uint32_t *temp);
void reverse_u64(uint64_t *temp);

void HexOutput(const char* buf, int len);
void HexToStr(char *pbDest, char *pbSrc, int nLen);