41 lines
756 B
C
41 lines
756 B
C
#ifndef ADCREGISTERS_H
|
|
#define ADCREGISTERS_H
|
|
|
|
#define NETWORK_MODE 0
|
|
#define MAC_ADDRESS 1
|
|
#define DEFAULT_IP 2
|
|
#define DEFAULT_GATE 3
|
|
#define DEFAULT_MASK 4
|
|
#define STATIC_IP 5
|
|
#define STATIC_GATE 6
|
|
#define STATIC_MASK 7
|
|
|
|
#define MODEL_ID 100
|
|
#define DEVICE_SN 101
|
|
|
|
#define CMD_REBOOT 200
|
|
#define CMD_SAVE_REBOOT 201
|
|
#define SYNC_MODE 202
|
|
#define ADC_START 203
|
|
#define DAC_START 204
|
|
#define CMD_RESET_NETWORK 205
|
|
|
|
#define CHANNELS_COUNT 300
|
|
#define IS_TACHO_SIGNAL 301
|
|
#define IS_GEN 302
|
|
#define ADC_FREQ 303
|
|
#define CALIBRATION_FACTOR 304
|
|
#define BIT_DEPTH 305
|
|
|
|
#define CH_IEPE_OFFSET 311
|
|
#define CH_ACDC_OFFSET 321
|
|
|
|
#define DAC_HPF 400
|
|
#define DAC_LPF 401
|
|
#define DAC_MODE 402
|
|
#define DAM_AMP 403
|
|
|
|
#define BLIND_REGISTER 1111
|
|
|
|
#endif // ADCREGISTERS_H
|