Prusa-MMU-Private
PrusaMultiMaterialUpgradev3firmwareforMK3SMK4
Namespaces | Typedefs | Enumerations | Functions | Variables
hw_sanity.cpp File Reference
#include <string.h>
#include "hw_sanity.h"
#include "command_base.h"
#include "../modules/globals.h"
#include "../modules/motion.h"
#include "../modules/leds.h"
#include "../modules/timebase.h"
Include dependency graph for hw_sanity.cpp:

Namespaces

 logic
 The logic namespace handles the application logic on top of the modules.
 

Typedefs

using logic::Axis = config::Axis
 
using logic::TMC2130 = hal::tmc2130::TMC2130
 

Enumerations

enum  pin_bits { BIT_STEP = 0b001 , BIT_DIR = 0b010 , BIT_ENA = 0b100 }
 

Functions

ErrorCodelogic::operator|= (ErrorCode &a, ErrorCode b)
 

Variables

static constexpr uint8_t logic::LED_WAIT_MS = 50U
 
static constexpr uint8_t logic::TEST_PASSES = 3U
 
HWSanity logic::hwSanity
 The one and only instance of hwSanity state machine in the FW.