diff --git a/src/darwin_registers.h b/src/darwin_registers.h new file mode 100644 index 0000000000000000000000000000000000000000..471329c55fe17cfdb50ac39ca2e38fc3b475f249 --- /dev/null +++ b/src/darwin_registers.h @@ -0,0 +1,29 @@ +#ifndef _DARWIN_REGISTERS_H +#define _DARWIN_REGISTERS_H + +#define MANAGER_PERIOD 6 +#define MANAGER_NUM_MODULES 128 +#define MANAGER_NUM_MASTERS 129 +#define MANAGER_CONTROL 130 + #define MANAGER_START 0x01 + #define MANAGER_STOP 0x02 + #define MANAGER_START_SCAN 0x04 + #define MANAGER_RUNNING 0x40 + #define MANAGER_SCANNING 0x80 +#define MANAGER_NUM_DEVICES 131 + +#define MMANAGER_PERIOD 17 +#define MMANAGER_OFFSETS 18 +#define MMANAGER_NUM_MODELS 132 +#define MMANAGER_NUM_DEVICES 133 +#define MMANAGER_ENABLE 134 + #define MMANAGER_EVEN_SER_EN 0x80 + #define MMANAGER_EVEN_SER_MOD 0x70 + #define MMANAGER_ODD_SER_EN 0x08 + #define MMANAGER_ODD_SER_MOD 0x07 + +#define ACTION_NUM_MODULES 150 +#define ACTION_NUM_DEVICES 151 +#define ACTION_CONTROL 152 + +#endif