00001 #ifndef _SERMSG_H
00002 #define _SERMSG_H
00003
00004 #include <stdint.h>
00005
00006
00007 void serwrite_hex4(uint8_t v);
00008 void serwrite_hex8(uint8_t v);
00009 void serwrite_hex16(uint16_t v);
00010 void serwrite_hex32(uint32_t v);
00011
00012
00013 #define serwrite_uint8(v) serwrite_uint32(v)
00014 #define serwrite_int8(v) serwrite_int32(v)
00015 #define serwrite_uint16(v) serwrite_uint32(v)
00016 #define serwrite_int16(v) serwrite_int32(v)
00017
00018 void serwrite_uint32(uint32_t v);
00019 void serwrite_int32(int32_t v);
00020
00021 #endif