Prusa MINI Firmware overview
BLTouch Class Reference

#include <bltouch.h>

Collaboration diagram for BLTouch:

Static Public Member Functions

static void init (const bool set_voltage=false)
 
static FORCE_INLINE bool deploy ()
 
static FORCE_INLINE bool stow ()
 
static FORCE_INLINE bool status ()
 
static FORCE_INLINE void _reset ()
 
static FORCE_INLINE void _selftest ()
 
static FORCE_INLINE void _set_SW_mode ()
 
static FORCE_INLINE void _reset_SW_mode ()
 
static FORCE_INLINE void _set_5V_mode ()
 
static FORCE_INLINE void _set_OD_mode ()
 
static FORCE_INLINE void _mode_store ()
 
static FORCE_INLINE void _deploy ()
 
static FORCE_INLINE void _stow ()
 
static FORCE_INLINE void mode_conv_5V ()
 
static FORCE_INLINE void mode_conv_OD ()
 

Static Public Attributes

static bool last_written_mode
 

Member Function Documentation

◆ init()

static void BLTouch::init ( const bool  set_voltage = false)
static
Here is the caller graph for this function:

◆ deploy()

static FORCE_INLINE bool BLTouch::deploy ( )
static
72 { return deploy_proc(); }
Here is the caller graph for this function:

◆ stow()

static FORCE_INLINE bool BLTouch::stow ( )
static
73 { return stow_proc(); }
Here is the caller graph for this function:

◆ status()

static FORCE_INLINE bool BLTouch::status ( )
static
74 { return status_proc(); }

◆ _reset()

static FORCE_INLINE void BLTouch::_reset ( )
static

◆ _selftest()

static FORCE_INLINE void BLTouch::_selftest ( )
static
79 { command(BLTOUCH_SELFTEST, BLTOUCH_DELAY); }

◆ _set_SW_mode()

static FORCE_INLINE void BLTouch::_set_SW_mode ( )
static
81 { command(BLTOUCH_SW_MODE, BLTOUCH_DELAY); }
Here is the caller graph for this function:

◆ _reset_SW_mode()

static FORCE_INLINE void BLTouch::_reset_SW_mode ( )
static
82 { if (triggered()) _stow(); else _deploy(); }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _set_5V_mode()

static FORCE_INLINE void BLTouch::_set_5V_mode ( )
static

◆ _set_OD_mode()

static FORCE_INLINE void BLTouch::_set_OD_mode ( )
static

◆ _mode_store()

static FORCE_INLINE void BLTouch::_mode_store ( )
static

◆ _deploy()

static FORCE_INLINE void BLTouch::_deploy ( )
static
Here is the caller graph for this function:

◆ _stow()

static FORCE_INLINE void BLTouch::_stow ( )
static
89 { command(BLTOUCH_STOW, BLTOUCH_STOW_DELAY); }
Here is the caller graph for this function:

◆ mode_conv_5V()

static FORCE_INLINE void BLTouch::mode_conv_5V ( )
static
91 { mode_conv_proc(true); }

◆ mode_conv_OD()

static FORCE_INLINE void BLTouch::mode_conv_OD ( )
static
92 { mode_conv_proc(false); }

Member Data Documentation

◆ last_written_mode

bool BLTouch::last_written_mode
static
BLTOUCH_DEPLOY_DELAY
#define BLTOUCH_DEPLOY_DELAY
Definition: bltouch.h:57
BLTOUCH_STOW
#define BLTOUCH_STOW
Definition: bltouch.h:31
BLTOUCH_SELFTEST
#define BLTOUCH_SELFTEST
Definition: bltouch.h:32
BLTOUCH_MODE_STORE_DELAY
#define BLTOUCH_MODE_STORE_DELAY
Definition: bltouch.h:54
BLTOUCH_5V_MODE
#define BLTOUCH_5V_MODE
Definition: bltouch.h:34
BLTOUCH_SW_MODE
#define BLTOUCH_SW_MODE
Definition: bltouch.h:30
BLTOUCH_STOW_DELAY
#define BLTOUCH_STOW_DELAY
Definition: bltouch.h:60
BLTouch::_stow
static FORCE_INLINE void _stow()
Definition: bltouch.h:89
BLTOUCH_SET5V_DELAY
#define BLTOUCH_SET5V_DELAY
Definition: bltouch.h:48
BLTOUCH_RESET_DELAY
#define BLTOUCH_RESET_DELAY
Definition: bltouch.h:63
BLTOUCH_DEPLOY
#define BLTOUCH_DEPLOY
Definition: bltouch.h:29
BLTouch::_deploy
static FORCE_INLINE void _deploy()
Definition: bltouch.h:88
BLTOUCH_RESET
#define BLTOUCH_RESET
Definition: bltouch.h:36
BLTOUCH_SETOD_DELAY
#define BLTOUCH_SETOD_DELAY
Definition: bltouch.h:51
BLTOUCH_MODE_STORE
#define BLTOUCH_MODE_STORE
Definition: bltouch.h:33
BLTOUCH_OD_MODE
#define BLTOUCH_OD_MODE
Definition: bltouch.h:35