2017-10-03 11:01:59 +00:00
|
|
|
#ifndef DCODES_H
|
|
|
|
#define DCODES_H
|
|
|
|
|
2017-11-24 20:53:35 +00:00
|
|
|
extern void dcode__1(); //D-1 - Endless loop (to simulate deadlock)
|
|
|
|
|
2017-11-13 17:45:11 +00:00
|
|
|
extern void dcode_0(); //D0 - Reset
|
|
|
|
extern void dcode_1(); //D1 - Clear EEPROM
|
|
|
|
extern void dcode_2(); //D2 - Read/Write RAM
|
|
|
|
extern void dcode_3(); //D3 - Read/Write EEPROM
|
|
|
|
extern void dcode_4(); //D4 - Read/Write PIN
|
|
|
|
extern void dcode_5(); //D5 - Read/Write FLASH
|
2017-11-16 19:51:50 +00:00
|
|
|
extern void dcode_6(); //D6 - Read/Write external FLASH
|
|
|
|
extern void dcode_7(); //D7 - Read/Write Bootloader
|
|
|
|
extern void dcode_8(); //D8 - Read/Write PINDA
|
2017-12-20 12:42:20 +00:00
|
|
|
extern void dcode_9(); //D9 - Read/Write ADC (Write=enable simulated, Read=disable simulated)
|
2017-10-03 11:01:59 +00:00
|
|
|
|
2017-11-16 19:51:50 +00:00
|
|
|
extern void dcode_10(); //D10 - XYZ calibration = OK
|
2017-10-24 17:45:15 +00:00
|
|
|
|
2018-02-08 17:56:15 +00:00
|
|
|
#ifdef TMC2130
|
2017-11-13 17:45:11 +00:00
|
|
|
extern void dcode_2130(); //D2130 - TMC2130
|
2018-02-08 17:56:15 +00:00
|
|
|
#endif //TMC2130
|
|
|
|
|
|
|
|
#ifdef PAT9125
|
2017-11-13 17:45:11 +00:00
|
|
|
extern void dcode_9125(); //D9125 - PAT9125
|
2018-02-08 17:56:15 +00:00
|
|
|
#endif //PAT9125
|
|
|
|
|
2017-10-03 11:01:59 +00:00
|
|
|
|
|
|
|
#endif //DCODES_H
|