Prusa MINI Firmware overview
|
Go to the documentation of this file.
24 #include "../inc/MarlinConfigPre.h"
29 #define BLTOUCH_DEPLOY 10
30 #define BLTOUCH_SW_MODE 60
31 #define BLTOUCH_STOW 90
32 #define BLTOUCH_SELFTEST 120
33 #define BLTOUCH_MODE_STORE 130
34 #define BLTOUCH_5V_MODE 140
35 #define BLTOUCH_OD_MODE 150
36 #define BLTOUCH_RESET 160
47 #ifndef BLTOUCH_SET5V_DELAY
48 #define BLTOUCH_SET5V_DELAY 150
50 #ifndef BLTOUCH_SETOD_DELAY
51 #define BLTOUCH_SETOD_DELAY 150
53 #ifndef BLTOUCH_MODE_STORE_DELAY
54 #define BLTOUCH_MODE_STORE_DELAY 150
56 #ifndef BLTOUCH_DEPLOY_DELAY
57 #define BLTOUCH_DEPLOY_DELAY 750
59 #ifndef BLTOUCH_STOW_DELAY
60 #define BLTOUCH_STOW_DELAY 750
62 #ifndef BLTOUCH_RESET_DELAY
63 #define BLTOUCH_RESET_DELAY 500
68 static void init(
const bool set_voltage=
false);
100 static bool triggered();
101 static bool deploy_proc();
102 static bool stow_proc();
103 static bool status_proc();
104 static void mode_conv_proc(
const bool M5V);
108 #define BLTOUCH_ANGLES { BLTOUCH_DEPLOY, BLTOUCH_STOW }
#define BLTOUCH_DEPLOY_DELAY
Definition: bltouch.h:57
static FORCE_INLINE void _reset()
Definition: bltouch.h:77
#define BLTOUCH_STOW
Definition: bltouch.h:31
void stop()
Definition: Marlin.cpp:783
static FORCE_INLINE void _set_OD_mode()
Definition: bltouch.h:85
#define BLTOUCH_SELFTEST
Definition: bltouch.h:32
#define BLTOUCH_MODE_STORE_DELAY
Definition: bltouch.h:54
#define BLTOUCH_5V_MODE
Definition: bltouch.h:34
#define DEBUG_ECHOLNPGM(...)
Definition: debug_out.h:79
#define _MAX(V...)
Definition: macros.h:346
static FORCE_INLINE void _mode_store()
Definition: bltouch.h:86
#define BLTOUCH_SW_MODE
Definition: bltouch.h:30
#define BLTOUCH_STOW_DELAY
Definition: bltouch.h:60
static FORCE_INLINE void _reset_SW_mode()
Definition: bltouch.h:82
static FORCE_INLINE void _set_5V_mode()
Definition: bltouch.h:84
#define DEBUG_ECHOLNPAIR(...)
Definition: debug_out.h:82
static FORCE_INLINE void _stow()
Definition: bltouch.h:89
static bool last_written_mode
Definition: bltouch.h:69
static FORCE_INLINE bool deploy()
Definition: bltouch.h:72
static FORCE_INLINE void _set_SW_mode()
Definition: bltouch.h:81
#define BLTOUCH_SET5V_DELAY
Definition: bltouch.h:48
#define MOVE_SERVO(I, P)
Definition: servo.h:93
#define BLTOUCH_RESET_DELAY
Definition: bltouch.h:63
#define FORCE_INLINE
Definition: macros.h:40
static FORCE_INLINE void mode_conv_OD()
Definition: bltouch.h:92
static FORCE_INLINE void mode_conv_5V()
Definition: bltouch.h:91
#define BLTOUCH_DEPLOY
Definition: bltouch.h:29
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
Definition: Configuration_A3ides_2209_MINI.h:759
static FORCE_INLINE void _deploy()
Definition: bltouch.h:88
static FORCE_INLINE void _selftest()
Definition: bltouch.h:79
#define Z_MIN_PROBE_ENDSTOP_INVERTING
Definition: Configuration_A3ides_2209_MINI.h:611
#define SERIAL_ECHOLNPAIR(V...)
Definition: serial.h:144
static void init(const bool set_voltage=false)
#define SERIAL_ERROR_MSG(S)
Definition: serial.h:184
#define Z_MIN_PROBE_PIN
Definition: pins_RAMPS_LINUX.h:86
#define DEBUGGING(F)
Definition: serial.h:47
#define Z_MIN_PIN
Definition: pins_ESP32.h:47
unsigned char BLTCommand
Definition: bltouch.h:27
void safe_delay(millis_t ms)
Definition: utility.cpp:28
#define BLTOUCH_RESET
Definition: bltouch.h:36
#define BLTOUCH_SETOD_DELAY
Definition: bltouch.h:51
#define BLTOUCH_MODE_STORE
Definition: bltouch.h:33
#define READ(IO)
Definition: fastio.h:95
#define MSG_STOP_BLTOUCH
Definition: language.h:255
#define BLTOUCH_OD_MODE
Definition: bltouch.h:35
uint32_t millis_t
Definition: millis_t.h:26
static FORCE_INLINE bool status()
Definition: bltouch.h:74
#define ENABLED(V...)
Definition: macros.h:177
#define Z_MIN_ENDSTOP_INVERTING
Definition: Configuration_A3ides_2209_MINI.h:607
static FORCE_INLINE bool stow()
Definition: bltouch.h:73