by schumi2000
Diff: sys.h
- Revision:
- 0:32964091adbf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sys.h Wed Aug 17 06:28:57 2016 +0000 @@ -0,0 +1,22 @@ +#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); \ No newline at end of file