Dcodes.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #ifndef DCODES_H
  2. #define DCODES_H
  3. extern void dcode__1(); //D-1 - Endless loop (to simulate deadlock)
  4. extern void dcode_0(); //D0 - Reset
  5. extern void dcode_1(); //D1 - Clear EEPROM
  6. extern void dcode_2(); //D2 - Read/Write RAM
  7. #ifdef DEBUG_DCODE3
  8. extern void dcode_3(); //D3 - Read/Write EEPROM
  9. #endif //DEBUG_DCODE3
  10. extern void dcode_4(); //D4 - Read/Write PIN
  11. #ifdef DEBUG_DCODE5
  12. extern void dcode_5(); //D5 - Read/Write FLASH
  13. #endif //DEBUG_DCODE5
  14. extern void dcode_6(); //D6 - Read/Write external FLASH
  15. extern void dcode_7(); //D7 - Read/Write Bootloader
  16. extern void dcode_8(); //D8 - Read/Write PINDA
  17. extern void dcode_9(); //D9 - Read/Write ADC (Write=enable simulated, Read=disable simulated)
  18. extern void dcode_10(); //D10 - XYZ calibration = OK
  19. extern void dcode_12(); //D12 - Log time. Writes the current time in the log file.
  20. #ifdef HEATBED_ANALYSIS
  21. extern void dcode_80(); //D80 - Bed check. This command will log data to SD card file "mesh.txt".
  22. extern void dcode_81(); //D81 - Bed analysis. This command will log data to SD card file "wldsd.txt".
  23. #endif //HEATBED_ANALYSIS
  24. extern void dcode_106(); //D106 - Print measured fan speed for different pwm values
  25. #ifdef TMC2130
  26. extern void dcode_2130(); //D2130 - TMC2130
  27. #endif //TMC2130
  28. #ifdef PAT9125
  29. extern void dcode_9125(); //D9125 - PAT9125
  30. #endif //PAT9125
  31. #endif //DCODES_H