Ad van der Weiden / Mbed 2 deprecated tcpft

Dependencies:   mbed ConfigFile

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ft.h Source File

ft.h

00001 #ifndef FT_H
00002 #define FT_H
00003 
00004 typedef unsigned char   BYTE;
00005 typedef unsigned short  USHORT;
00006 typedef unsigned int    DWORD;
00007 
00008 #pragma pack( push, 1 )
00009 typedef union {
00010     BYTE    aucMsg[6];
00011     struct {
00012         BYTE    ucHwId;
00013         BYTE    ucSubId;
00014         union {
00015             struct {
00016                 BYTE    ucB0;
00017                 BYTE    ucB1;
00018                 BYTE    ucB2;
00019                 BYTE    ucB3;
00020             };
00021             struct {
00022                 USHORT  uiMsgId;
00023                 USHORT  uiMsg;
00024             } ;
00025             DWORD   dw;
00026         } ;
00027     } ;
00028 } SMESSAGE;
00029 #pragma pack( pop )
00030 
00031 #endif