- adaptions to PCB Hend-Control, Rev.0

git-svn-id: http://moon:8086/svn/projects/HendiControl@152 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2019-03-29 21:33:32 +00:00
parent 3ff77ccb66
commit a7a46940b5
10 changed files with 119 additions and 86 deletions
+16 -1
View File
@@ -21,7 +21,22 @@ typedef enum _eMsgCode
typedef struct _sMsg_t
{
MsgCode code;
uint8_t data;
union
{
struct
{
uint8_t data;
} uart;
struct
{
uint8_t ch;
uint16_t data;
} adc;
struct
{
uint8_t ch;
} timer;
} m;
} Msg_t;
#endif /* MESSAGE_H_ */