Prusa MINI Firmware overview
indirection.h File Reference

Go to the source code of this file.

Macros

#define X_ENABLE_INIT   SET_OUTPUT(X_ENABLE_PIN)
 
#define X_ENABLE_WRITE(STATE)   WRITE(X_ENABLE_PIN,STATE)
 
#define X_ENABLE_READ()   READ(X_ENABLE_PIN)
 
#define X_DIR_INIT   SET_OUTPUT(X_DIR_PIN)
 
#define X_DIR_WRITE(STATE)   WRITE(X_DIR_PIN,STATE)
 
#define X_DIR_READ()   READ(X_DIR_PIN)
 
#define X_STEP_INIT   SET_OUTPUT(X_STEP_PIN)
 
#define X_STEP_WRITE(STATE)   WRITE(X_STEP_PIN,STATE)
 
#define X_STEP_READ   READ(X_STEP_PIN)
 
#define Y_ENABLE_INIT   SET_OUTPUT(Y_ENABLE_PIN)
 
#define Y_ENABLE_WRITE(STATE)   WRITE(Y_ENABLE_PIN,STATE)
 
#define Y_ENABLE_READ()   READ(Y_ENABLE_PIN)
 
#define Y_DIR_INIT   SET_OUTPUT(Y_DIR_PIN)
 
#define Y_DIR_WRITE(STATE)   WRITE(Y_DIR_PIN,STATE)
 
#define Y_DIR_READ()   READ(Y_DIR_PIN)
 
#define Y_STEP_INIT   SET_OUTPUT(Y_STEP_PIN)
 
#define Y_STEP_WRITE(STATE)   WRITE(Y_STEP_PIN,STATE)
 
#define Y_STEP_READ   READ(Y_STEP_PIN)
 
#define Z_ENABLE_INIT   SET_OUTPUT(Z_ENABLE_PIN)
 
#define Z_ENABLE_WRITE(STATE)   WRITE(Z_ENABLE_PIN,STATE)
 
#define Z_ENABLE_READ()   READ(Z_ENABLE_PIN)
 
#define Z_DIR_INIT   SET_OUTPUT(Z_DIR_PIN)
 
#define Z_DIR_WRITE(STATE)   WRITE(Z_DIR_PIN,STATE)
 
#define Z_DIR_READ()   READ(Z_DIR_PIN)
 
#define Z_STEP_INIT   SET_OUTPUT(Z_STEP_PIN)
 
#define Z_STEP_WRITE(STATE)   WRITE(Z_STEP_PIN,STATE)
 
#define Z_STEP_READ   READ(Z_STEP_PIN)
 
#define X2_ENABLE_INIT   SET_OUTPUT(X2_ENABLE_PIN)
 
#define X2_ENABLE_WRITE(STATE)   WRITE(X2_ENABLE_PIN,STATE)
 
#define X2_ENABLE_READ()   READ(X2_ENABLE_PIN)
 
#define X2_DIR_INIT   SET_OUTPUT(X2_DIR_PIN)
 
#define X2_DIR_WRITE(STATE)   WRITE(X2_DIR_PIN,STATE)
 
#define X2_DIR_READ()   READ(X2_DIR_PIN)
 
#define X2_STEP_INIT   SET_OUTPUT(X2_STEP_PIN)
 
#define X2_STEP_WRITE(STATE)   WRITE(X2_STEP_PIN,STATE)
 
#define X2_STEP_READ   READ(X2_STEP_PIN)
 
#define Y2_ENABLE_INIT   SET_OUTPUT(Y2_ENABLE_PIN)
 
#define Y2_ENABLE_WRITE(STATE)   WRITE(Y2_ENABLE_PIN,STATE)
 
#define Y2_ENABLE_READ()   READ(Y2_ENABLE_PIN)
 
#define Y2_DIR_INIT   SET_OUTPUT(Y2_DIR_PIN)
 
#define Y2_DIR_WRITE(STATE)   WRITE(Y2_DIR_PIN,STATE)
 
#define Y2_DIR_READ()   READ(Y2_DIR_PIN)
 
#define Y2_STEP_INIT   SET_OUTPUT(Y2_STEP_PIN)
 
#define Y2_STEP_WRITE(STATE)   WRITE(Y2_STEP_PIN,STATE)
 
#define Y2_STEP_READ   READ(Y2_STEP_PIN)
 
#define Z2_ENABLE_INIT   SET_OUTPUT(Z2_ENABLE_PIN)
 
#define Z2_ENABLE_WRITE(STATE)   WRITE(Z2_ENABLE_PIN,STATE)
 
#define Z2_ENABLE_READ()   READ(Z2_ENABLE_PIN)
 
#define Z2_DIR_INIT   SET_OUTPUT(Z2_DIR_PIN)
 
#define Z2_DIR_WRITE(STATE)   WRITE(Z2_DIR_PIN,STATE)
 
#define Z2_DIR_READ()   READ(Z2_DIR_PIN)
 
#define Z2_STEP_INIT   SET_OUTPUT(Z2_STEP_PIN)
 
#define Z2_STEP_WRITE(STATE)   WRITE(Z2_STEP_PIN,STATE)
 
#define Z2_STEP_READ   READ(Z2_STEP_PIN)
 
#define Z3_ENABLE_INIT   SET_OUTPUT(Z3_ENABLE_PIN)
 
#define Z3_ENABLE_WRITE(STATE)   WRITE(Z3_ENABLE_PIN,STATE)
 
#define Z3_ENABLE_READ()   READ(Z3_ENABLE_PIN)
 
#define Z3_DIR_INIT   SET_OUTPUT(Z3_DIR_PIN)
 
#define Z3_DIR_WRITE(STATE)   WRITE(Z3_DIR_PIN,STATE)
 
#define Z3_DIR_READ()   READ(Z3_DIR_PIN)
 
#define Z3_STEP_INIT   SET_OUTPUT(Z3_STEP_PIN)
 
#define Z3_STEP_WRITE(STATE)   WRITE(Z3_STEP_PIN,STATE)
 
#define Z3_STEP_READ   READ(Z3_STEP_PIN)
 
#define E0_ENABLE_INIT   SET_OUTPUT(E0_ENABLE_PIN)
 
#define E0_ENABLE_WRITE(STATE)   WRITE(E0_ENABLE_PIN,STATE)
 
#define E0_ENABLE_READ()   READ(E0_ENABLE_PIN)
 
#define E0_DIR_INIT   SET_OUTPUT(E0_DIR_PIN)
 
#define E0_DIR_WRITE(STATE)   WRITE(E0_DIR_PIN,STATE)
 
#define E0_DIR_READ()   READ(E0_DIR_PIN)
 
#define E0_STEP_INIT   SET_OUTPUT(E0_STEP_PIN)
 
#define E0_STEP_WRITE(STATE)   WRITE(E0_STEP_PIN,STATE)
 
#define E0_STEP_READ   READ(E0_STEP_PIN)
 
#define E1_ENABLE_INIT   SET_OUTPUT(E1_ENABLE_PIN)
 
#define E1_ENABLE_WRITE(STATE)   WRITE(E1_ENABLE_PIN,STATE)
 
#define E1_ENABLE_READ()   READ(E1_ENABLE_PIN)
 
#define E1_DIR_INIT   SET_OUTPUT(E1_DIR_PIN)
 
#define E1_DIR_WRITE(STATE)   WRITE(E1_DIR_PIN,STATE)
 
#define E1_DIR_READ()   READ(E1_DIR_PIN)
 
#define E1_STEP_INIT   SET_OUTPUT(E1_STEP_PIN)
 
#define E1_STEP_WRITE(STATE)   WRITE(E1_STEP_PIN,STATE)
 
#define E1_STEP_READ   READ(E1_STEP_PIN)
 
#define E2_ENABLE_INIT   SET_OUTPUT(E2_ENABLE_PIN)
 
#define E2_ENABLE_WRITE(STATE)   WRITE(E2_ENABLE_PIN,STATE)
 
#define E2_ENABLE_READ()   READ(E2_ENABLE_PIN)
 
#define E2_DIR_INIT   SET_OUTPUT(E2_DIR_PIN)
 
#define E2_DIR_WRITE(STATE)   WRITE(E2_DIR_PIN,STATE)
 
#define E2_DIR_READ()   READ(E2_DIR_PIN)
 
#define E2_STEP_INIT   SET_OUTPUT(E2_STEP_PIN)
 
#define E2_STEP_WRITE(STATE)   WRITE(E2_STEP_PIN,STATE)
 
#define E2_STEP_READ   READ(E2_STEP_PIN)
 
#define E3_ENABLE_INIT   SET_OUTPUT(E3_ENABLE_PIN)
 
#define E3_ENABLE_WRITE(STATE)   WRITE(E3_ENABLE_PIN,STATE)
 
#define E3_ENABLE_READ()   READ(E3_ENABLE_PIN)
 
#define E3_DIR_INIT   SET_OUTPUT(E3_DIR_PIN)
 
#define E3_DIR_WRITE(STATE)   WRITE(E3_DIR_PIN,STATE)
 
#define E3_DIR_READ()   READ(E3_DIR_PIN)
 
#define E3_STEP_INIT   SET_OUTPUT(E3_STEP_PIN)
 
#define E3_STEP_WRITE(STATE)   WRITE(E3_STEP_PIN,STATE)
 
#define E3_STEP_READ   READ(E3_STEP_PIN)
 
#define E4_ENABLE_INIT   SET_OUTPUT(E4_ENABLE_PIN)
 
#define E4_ENABLE_WRITE(STATE)   WRITE(E4_ENABLE_PIN,STATE)
 
#define E4_ENABLE_READ()   READ(E4_ENABLE_PIN)
 
#define E4_DIR_INIT   SET_OUTPUT(E4_DIR_PIN)
 
#define E4_DIR_WRITE(STATE)   WRITE(E4_DIR_PIN,STATE)
 
#define E4_DIR_READ()   READ(E4_DIR_PIN)
 
#define E4_STEP_INIT   SET_OUTPUT(E4_STEP_PIN)
 
#define E4_STEP_WRITE(STATE)   WRITE(E4_STEP_PIN,STATE)
 
#define E4_STEP_READ   READ(E4_STEP_PIN)
 
#define E5_ENABLE_INIT   SET_OUTPUT(E5_ENABLE_PIN)
 
#define E5_ENABLE_WRITE(STATE)   WRITE(E5_ENABLE_PIN,STATE)
 
#define E5_ENABLE_READ()   READ(E5_ENABLE_PIN)
 
#define E5_DIR_INIT   SET_OUTPUT(E5_DIR_PIN)
 
#define E5_DIR_WRITE(STATE)   WRITE(E5_DIR_PIN,STATE)
 
#define E5_DIR_READ()   READ(E5_DIR_PIN)
 
#define E5_STEP_INIT   SET_OUTPUT(E5_STEP_PIN)
 
#define E5_STEP_WRITE(STATE)   WRITE(E5_STEP_PIN,STATE)
 
#define E5_STEP_READ   READ(E5_STEP_PIN)
 
#define E_STEP_WRITE(E, V)   NOOP
 
#define NORM_E_DIR(E)   NOOP
 
#define REV_E_DIR(E)   NOOP
 

Functions

void restore_stepper_drivers ()
 
void reset_stepper_drivers ()
 

Macro Definition Documentation

◆ X_ENABLE_INIT

#define X_ENABLE_INIT   SET_OUTPUT(X_ENABLE_PIN)

◆ X_ENABLE_WRITE

#define X_ENABLE_WRITE (   STATE)    WRITE(X_ENABLE_PIN,STATE)

◆ X_ENABLE_READ

#define X_ENABLE_READ ( )    READ(X_ENABLE_PIN)

◆ X_DIR_INIT

#define X_DIR_INIT   SET_OUTPUT(X_DIR_PIN)

◆ X_DIR_WRITE

#define X_DIR_WRITE (   STATE)    WRITE(X_DIR_PIN,STATE)

◆ X_DIR_READ

#define X_DIR_READ ( )    READ(X_DIR_PIN)

◆ X_STEP_INIT

#define X_STEP_INIT   SET_OUTPUT(X_STEP_PIN)

◆ X_STEP_WRITE

#define X_STEP_WRITE (   STATE)    WRITE(X_STEP_PIN,STATE)

◆ X_STEP_READ

#define X_STEP_READ   READ(X_STEP_PIN)

◆ Y_ENABLE_INIT

#define Y_ENABLE_INIT   SET_OUTPUT(Y_ENABLE_PIN)

◆ Y_ENABLE_WRITE

#define Y_ENABLE_WRITE (   STATE)    WRITE(Y_ENABLE_PIN,STATE)

◆ Y_ENABLE_READ

#define Y_ENABLE_READ ( )    READ(Y_ENABLE_PIN)

◆ Y_DIR_INIT

#define Y_DIR_INIT   SET_OUTPUT(Y_DIR_PIN)

◆ Y_DIR_WRITE

#define Y_DIR_WRITE (   STATE)    WRITE(Y_DIR_PIN,STATE)

◆ Y_DIR_READ

#define Y_DIR_READ ( )    READ(Y_DIR_PIN)

◆ Y_STEP_INIT

#define Y_STEP_INIT   SET_OUTPUT(Y_STEP_PIN)

◆ Y_STEP_WRITE

#define Y_STEP_WRITE (   STATE)    WRITE(Y_STEP_PIN,STATE)

◆ Y_STEP_READ

#define Y_STEP_READ   READ(Y_STEP_PIN)

◆ Z_ENABLE_INIT

#define Z_ENABLE_INIT   SET_OUTPUT(Z_ENABLE_PIN)

◆ Z_ENABLE_WRITE

#define Z_ENABLE_WRITE (   STATE)    WRITE(Z_ENABLE_PIN,STATE)

◆ Z_ENABLE_READ

#define Z_ENABLE_READ ( )    READ(Z_ENABLE_PIN)

◆ Z_DIR_INIT

#define Z_DIR_INIT   SET_OUTPUT(Z_DIR_PIN)

◆ Z_DIR_WRITE

#define Z_DIR_WRITE (   STATE)    WRITE(Z_DIR_PIN,STATE)

◆ Z_DIR_READ

#define Z_DIR_READ ( )    READ(Z_DIR_PIN)

◆ Z_STEP_INIT

#define Z_STEP_INIT   SET_OUTPUT(Z_STEP_PIN)

◆ Z_STEP_WRITE

#define Z_STEP_WRITE (   STATE)    WRITE(Z_STEP_PIN,STATE)

◆ Z_STEP_READ

#define Z_STEP_READ   READ(Z_STEP_PIN)

◆ X2_ENABLE_INIT

#define X2_ENABLE_INIT   SET_OUTPUT(X2_ENABLE_PIN)

◆ X2_ENABLE_WRITE

#define X2_ENABLE_WRITE (   STATE)    WRITE(X2_ENABLE_PIN,STATE)

◆ X2_ENABLE_READ

#define X2_ENABLE_READ ( )    READ(X2_ENABLE_PIN)

◆ X2_DIR_INIT

#define X2_DIR_INIT   SET_OUTPUT(X2_DIR_PIN)

◆ X2_DIR_WRITE

#define X2_DIR_WRITE (   STATE)    WRITE(X2_DIR_PIN,STATE)

◆ X2_DIR_READ

#define X2_DIR_READ ( )    READ(X2_DIR_PIN)

◆ X2_STEP_INIT

#define X2_STEP_INIT   SET_OUTPUT(X2_STEP_PIN)

◆ X2_STEP_WRITE

#define X2_STEP_WRITE (   STATE)    WRITE(X2_STEP_PIN,STATE)

◆ X2_STEP_READ

#define X2_STEP_READ   READ(X2_STEP_PIN)

◆ Y2_ENABLE_INIT

#define Y2_ENABLE_INIT   SET_OUTPUT(Y2_ENABLE_PIN)

◆ Y2_ENABLE_WRITE

#define Y2_ENABLE_WRITE (   STATE)    WRITE(Y2_ENABLE_PIN,STATE)

◆ Y2_ENABLE_READ

#define Y2_ENABLE_READ ( )    READ(Y2_ENABLE_PIN)

◆ Y2_DIR_INIT

#define Y2_DIR_INIT   SET_OUTPUT(Y2_DIR_PIN)

◆ Y2_DIR_WRITE

#define Y2_DIR_WRITE (   STATE)    WRITE(Y2_DIR_PIN,STATE)

◆ Y2_DIR_READ

#define Y2_DIR_READ ( )    READ(Y2_DIR_PIN)

◆ Y2_STEP_INIT

#define Y2_STEP_INIT   SET_OUTPUT(Y2_STEP_PIN)

◆ Y2_STEP_WRITE

#define Y2_STEP_WRITE (   STATE)    WRITE(Y2_STEP_PIN,STATE)

◆ Y2_STEP_READ

#define Y2_STEP_READ   READ(Y2_STEP_PIN)

◆ Z2_ENABLE_INIT

#define Z2_ENABLE_INIT   SET_OUTPUT(Z2_ENABLE_PIN)

◆ Z2_ENABLE_WRITE

#define Z2_ENABLE_WRITE (   STATE)    WRITE(Z2_ENABLE_PIN,STATE)

◆ Z2_ENABLE_READ

#define Z2_ENABLE_READ ( )    READ(Z2_ENABLE_PIN)

◆ Z2_DIR_INIT

#define Z2_DIR_INIT   SET_OUTPUT(Z2_DIR_PIN)

◆ Z2_DIR_WRITE

#define Z2_DIR_WRITE (   STATE)    WRITE(Z2_DIR_PIN,STATE)

◆ Z2_DIR_READ

#define Z2_DIR_READ ( )    READ(Z2_DIR_PIN)

◆ Z2_STEP_INIT

#define Z2_STEP_INIT   SET_OUTPUT(Z2_STEP_PIN)

◆ Z2_STEP_WRITE

#define Z2_STEP_WRITE (   STATE)    WRITE(Z2_STEP_PIN,STATE)

◆ Z2_STEP_READ

#define Z2_STEP_READ   READ(Z2_STEP_PIN)

◆ Z3_ENABLE_INIT

#define Z3_ENABLE_INIT   SET_OUTPUT(Z3_ENABLE_PIN)

◆ Z3_ENABLE_WRITE

#define Z3_ENABLE_WRITE (   STATE)    WRITE(Z3_ENABLE_PIN,STATE)

◆ Z3_ENABLE_READ

#define Z3_ENABLE_READ ( )    READ(Z3_ENABLE_PIN)

◆ Z3_DIR_INIT

#define Z3_DIR_INIT   SET_OUTPUT(Z3_DIR_PIN)

◆ Z3_DIR_WRITE

#define Z3_DIR_WRITE (   STATE)    WRITE(Z3_DIR_PIN,STATE)

◆ Z3_DIR_READ

#define Z3_DIR_READ ( )    READ(Z3_DIR_PIN)

◆ Z3_STEP_INIT

#define Z3_STEP_INIT   SET_OUTPUT(Z3_STEP_PIN)

◆ Z3_STEP_WRITE

#define Z3_STEP_WRITE (   STATE)    WRITE(Z3_STEP_PIN,STATE)

◆ Z3_STEP_READ

#define Z3_STEP_READ   READ(Z3_STEP_PIN)

◆ E0_ENABLE_INIT

#define E0_ENABLE_INIT   SET_OUTPUT(E0_ENABLE_PIN)

◆ E0_ENABLE_WRITE

#define E0_ENABLE_WRITE (   STATE)    WRITE(E0_ENABLE_PIN,STATE)

◆ E0_ENABLE_READ

#define E0_ENABLE_READ ( )    READ(E0_ENABLE_PIN)

◆ E0_DIR_INIT

#define E0_DIR_INIT   SET_OUTPUT(E0_DIR_PIN)

◆ E0_DIR_WRITE

#define E0_DIR_WRITE (   STATE)    WRITE(E0_DIR_PIN,STATE)

◆ E0_DIR_READ

#define E0_DIR_READ ( )    READ(E0_DIR_PIN)

◆ E0_STEP_INIT

#define E0_STEP_INIT   SET_OUTPUT(E0_STEP_PIN)

◆ E0_STEP_WRITE

#define E0_STEP_WRITE (   STATE)    WRITE(E0_STEP_PIN,STATE)

◆ E0_STEP_READ

#define E0_STEP_READ   READ(E0_STEP_PIN)

◆ E1_ENABLE_INIT

#define E1_ENABLE_INIT   SET_OUTPUT(E1_ENABLE_PIN)

◆ E1_ENABLE_WRITE

#define E1_ENABLE_WRITE (   STATE)    WRITE(E1_ENABLE_PIN,STATE)

◆ E1_ENABLE_READ

#define E1_ENABLE_READ ( )    READ(E1_ENABLE_PIN)

◆ E1_DIR_INIT

#define E1_DIR_INIT   SET_OUTPUT(E1_DIR_PIN)

◆ E1_DIR_WRITE

#define E1_DIR_WRITE (   STATE)    WRITE(E1_DIR_PIN,STATE)

◆ E1_DIR_READ

#define E1_DIR_READ ( )    READ(E1_DIR_PIN)

◆ E1_STEP_INIT

#define E1_STEP_INIT   SET_OUTPUT(E1_STEP_PIN)

◆ E1_STEP_WRITE

#define E1_STEP_WRITE (   STATE)    WRITE(E1_STEP_PIN,STATE)

◆ E1_STEP_READ

#define E1_STEP_READ   READ(E1_STEP_PIN)

◆ E2_ENABLE_INIT

#define E2_ENABLE_INIT   SET_OUTPUT(E2_ENABLE_PIN)

◆ E2_ENABLE_WRITE

#define E2_ENABLE_WRITE (   STATE)    WRITE(E2_ENABLE_PIN,STATE)

◆ E2_ENABLE_READ

#define E2_ENABLE_READ ( )    READ(E2_ENABLE_PIN)

◆ E2_DIR_INIT

#define E2_DIR_INIT   SET_OUTPUT(E2_DIR_PIN)

◆ E2_DIR_WRITE

#define E2_DIR_WRITE (   STATE)    WRITE(E2_DIR_PIN,STATE)

◆ E2_DIR_READ

#define E2_DIR_READ ( )    READ(E2_DIR_PIN)

◆ E2_STEP_INIT

#define E2_STEP_INIT   SET_OUTPUT(E2_STEP_PIN)

◆ E2_STEP_WRITE

#define E2_STEP_WRITE (   STATE)    WRITE(E2_STEP_PIN,STATE)

◆ E2_STEP_READ

#define E2_STEP_READ   READ(E2_STEP_PIN)

◆ E3_ENABLE_INIT

#define E3_ENABLE_INIT   SET_OUTPUT(E3_ENABLE_PIN)

◆ E3_ENABLE_WRITE

#define E3_ENABLE_WRITE (   STATE)    WRITE(E3_ENABLE_PIN,STATE)

◆ E3_ENABLE_READ

#define E3_ENABLE_READ ( )    READ(E3_ENABLE_PIN)

◆ E3_DIR_INIT

#define E3_DIR_INIT   SET_OUTPUT(E3_DIR_PIN)

◆ E3_DIR_WRITE

#define E3_DIR_WRITE (   STATE)    WRITE(E3_DIR_PIN,STATE)

◆ E3_DIR_READ

#define E3_DIR_READ ( )    READ(E3_DIR_PIN)

◆ E3_STEP_INIT

#define E3_STEP_INIT   SET_OUTPUT(E3_STEP_PIN)

◆ E3_STEP_WRITE

#define E3_STEP_WRITE (   STATE)    WRITE(E3_STEP_PIN,STATE)

◆ E3_STEP_READ

#define E3_STEP_READ   READ(E3_STEP_PIN)

◆ E4_ENABLE_INIT

#define E4_ENABLE_INIT   SET_OUTPUT(E4_ENABLE_PIN)

◆ E4_ENABLE_WRITE

#define E4_ENABLE_WRITE (   STATE)    WRITE(E4_ENABLE_PIN,STATE)

◆ E4_ENABLE_READ

#define E4_ENABLE_READ ( )    READ(E4_ENABLE_PIN)

◆ E4_DIR_INIT

#define E4_DIR_INIT   SET_OUTPUT(E4_DIR_PIN)

◆ E4_DIR_WRITE

#define E4_DIR_WRITE (   STATE)    WRITE(E4_DIR_PIN,STATE)

◆ E4_DIR_READ

#define E4_DIR_READ ( )    READ(E4_DIR_PIN)

◆ E4_STEP_INIT

#define E4_STEP_INIT   SET_OUTPUT(E4_STEP_PIN)

◆ E4_STEP_WRITE

#define E4_STEP_WRITE (   STATE)    WRITE(E4_STEP_PIN,STATE)

◆ E4_STEP_READ

#define E4_STEP_READ   READ(E4_STEP_PIN)

◆ E5_ENABLE_INIT

#define E5_ENABLE_INIT   SET_OUTPUT(E5_ENABLE_PIN)

◆ E5_ENABLE_WRITE

#define E5_ENABLE_WRITE (   STATE)    WRITE(E5_ENABLE_PIN,STATE)

◆ E5_ENABLE_READ

#define E5_ENABLE_READ ( )    READ(E5_ENABLE_PIN)

◆ E5_DIR_INIT

#define E5_DIR_INIT   SET_OUTPUT(E5_DIR_PIN)

◆ E5_DIR_WRITE

#define E5_DIR_WRITE (   STATE)    WRITE(E5_DIR_PIN,STATE)

◆ E5_DIR_READ

#define E5_DIR_READ ( )    READ(E5_DIR_PIN)

◆ E5_STEP_INIT

#define E5_STEP_INIT   SET_OUTPUT(E5_STEP_PIN)

◆ E5_STEP_WRITE

#define E5_STEP_WRITE (   STATE)    WRITE(E5_STEP_PIN,STATE)

◆ E5_STEP_READ

#define E5_STEP_READ   READ(E5_STEP_PIN)

◆ E_STEP_WRITE

#define E_STEP_WRITE (   E,
 
)    NOOP

Extruder indirection for the single E axis

◆ NORM_E_DIR

#define NORM_E_DIR (   E)    NOOP

◆ REV_E_DIR

#define REV_E_DIR (   E)    NOOP

Function Documentation

◆ restore_stepper_drivers()

void restore_stepper_drivers ( )

Marlin 3D Printer Firmware Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]

Based on Sprinter and grbl. Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. stepper/indirection.h

Stepper motor driver indirection to allow some stepper functions to be done via SPI/I2c instead of direct pin manipulation.

Copyright (c) 2015 Dominik Wenger

Marlin 3D Printer Firmware Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]

Based on Sprinter and grbl. Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. stepper/indirection.cpp

Stepper motor driver indirection to allow some stepper functions to be done via SPI/I2c instead of direct pin manipulation.

Copyright (c) 2015 Dominik Wenger

35  {
36  #if HAS_TRINAMIC
38  #endif
39 }
Here is the call graph for this function:

◆ reset_stepper_drivers()

void reset_stepper_drivers ( )
41  {
42  #if HAS_DRIVER(TMC26X)
44  #endif
45 
46  #if HAS_DRIVER(L6470)
48  #endif
49 
50  #if HAS_TRINAMIC
52  #endif
53 }
Here is the call graph for this function:
Here is the caller graph for this function:
L6470_Marlin::init_to_defaults
static void init_to_defaults()
L6470
L6470_Marlin L6470
tmc26x_init_to_defaults
void tmc26x_init_to_defaults()
restore_trinamic_drivers
void restore_trinamic_drivers()
reset_trinamic_drivers
void reset_trinamic_drivers()