- renamed folder

git-svn-id: http://moon:8086/svn/projects/HendiControl@161 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2019-03-30 00:53:10 +00:00
parent 9035753d6c
commit d2a116ce13
17 changed files with 0 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
/*
* message.h
*
* Created: 02.03.2019 09:30:53
* Author: Jens
*/
#ifndef MESSAGE_H_
#define MESSAGE_H_
typedef enum _eMsgCode
{
NOP = 0,
Uart,
AdcComplete,
Timer,
} MsgCode;
typedef struct _sMsg_t
{
MsgCode code;
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_ */