Dcodes.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. #if defined DEBUG_DCODE2 || defined DEBUG_DCODES
  7. extern void dcode_2(); //D2 - Read/Write RAM
  8. #endif
  9. #if defined DEBUG_DCODE3 || defined DEBUG_DCODES
  10. extern void dcode_3(); //D3 - Read/Write EEPROM
  11. #endif //DEBUG_DCODE3
  12. extern void dcode_4(); //D4 - Read/Write PIN
  13. #if defined DEBUG_DCODE5 || defined DEBUG_DCODES
  14. extern void dcode_5(); //D5 - Read/Write FLASH
  15. #endif //DEBUG_DCODE5
  16. #if defined DEBUG_DCODE6 || defined DEBUG_DCODES
  17. extern void dcode_6(); //D6 - Read/Write external FLASH
  18. #endif
  19. extern void dcode_7(); //D7 - Read/Write Bootloader
  20. extern void dcode_8(); //D8 - Read/Write PINDA
  21. extern void dcode_9(); //D9 - Read/Write ADC (Write=enable simulated, Read=disable simulated)
  22. extern void dcode_10(); //D10 - XYZ calibration = OK
  23. extern void dcode_12(); //D12 - Log time. Writes the current time in the log file.
  24. #ifdef HEATBED_ANALYSIS
  25. extern void dcode_80(); //D80 - Bed check. This command will log data to SD card file "mesh.txt".
  26. extern void dcode_81(); //D81 - Bed analysis. This command will log data to SD card file "wldsd.txt".
  27. #endif //HEATBED_ANALYSIS
  28. extern void dcode_106(); //D106 - Print measured fan speed for different pwm values
  29. #ifdef TMC2130
  30. extern void dcode_2130(); //D2130 - TMC2130
  31. #endif //TMC2130
  32. #ifdef PAT9125
  33. extern void dcode_9125(); //D9125 - PAT9125
  34. #endif //PAT9125
  35. #endif //DCODES_H