git-svn-id: http://moon:8086/svn/projects/HendiControl@48 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2019-03-03 08:57:06 +00:00
parent b915c39801
commit 45c0ce7028
2 changed files with 48 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
/*
* machine.h
*
* Created: 03.03.2019 09:21:56
* Author: Jens
*/
#ifndef MACHINE_H_
#define MACHINE_H_
#if ARDUINO_NANO
#define F_CPU (16000000UL) // MHz
#else
#define F_CPU (18432000UL) // MHz
#endif
#endif /* MACHINE_H_ */
+27
View File
@@ -0,0 +1,27 @@
/*
* 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;
uint8_t data;
} Msg_t;
#endif /* MESSAGE_H_ */