2019-01-24 17:47:01 +01:00
|
|
|
#ifndef __UTYPES_H__
|
|
|
|
#define __UTYPES_H__
|
|
|
|
|
2019-04-03 18:00:05 +02:00
|
|
|
#include "cc.h"
|
|
|
|
|
|
|
|
|
|
|
|
/* Object dictionary storage */
|
2019-01-24 17:47:01 +01:00
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
2019-04-03 18:00:05 +02:00
|
|
|
/* Inputs */
|
2019-01-24 17:47:01 +01:00
|
|
|
struct
|
|
|
|
{
|
2019-04-03 18:00:05 +02:00
|
|
|
uint8_t Button1;
|
|
|
|
} Buttons;
|
|
|
|
|
|
|
|
|
|
|
|
/* Outputs */
|
2019-01-24 17:47:01 +01:00
|
|
|
struct
|
|
|
|
{
|
2019-04-03 18:00:05 +02:00
|
|
|
uint8_t LED0;
|
|
|
|
} LEDgroup0;
|
|
|
|
|
2019-01-24 17:47:01 +01:00
|
|
|
struct
|
|
|
|
{
|
2019-04-03 18:00:05 +02:00
|
|
|
uint8_t LED1;
|
|
|
|
} LEDgroup1;
|
|
|
|
|
|
|
|
|
|
|
|
/* Parameters */
|
2019-01-24 17:47:01 +01:00
|
|
|
struct
|
|
|
|
{
|
|
|
|
uint32_t Multiplier;
|
2019-04-03 18:00:05 +02:00
|
|
|
} Parameters;
|
|
|
|
|
2019-01-24 17:47:01 +01:00
|
|
|
uint32_t variableRW;
|
|
|
|
|
2019-04-03 18:00:05 +02:00
|
|
|
/* Manufacturer specific data */
|
|
|
|
|
|
|
|
/* Dynamic TX PDO:s */
|
|
|
|
|
|
|
|
/* Dynamic RX PDO:s */
|
|
|
|
|
|
|
|
/* Sync Managers */
|
|
|
|
|
|
|
|
} _Objects;
|
|
|
|
|
|
|
|
extern _Objects Obj;
|
2019-01-24 17:47:01 +01:00
|
|
|
|
|
|
|
#endif /* __UTYPES_H__ */
|