ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
tmc22xx.h File Reference

Go to the source code of this file.

Data Structures

struct  esphome::tmc22xx::RegisterField
 A bit field inside one register. More...
 
struct  esphome::tmc22xx::DiagPinStore
 Set by a rising edge on DIAG, which signals a driver error or, on chips that support it, a stall. More...
 
struct  esphome::tmc22xx::IndexPulseStore
 Counts the step pulses the driver reports on INDEX while it runs from VACTUAL. More...
 
class  esphome::tmc22xx::TMC22XXStepper
 Base class for Trinamic stepper drivers that are configured over the single wire UART interface. More...
 

Namespaces

namespace  esphome
 
namespace  esphome::tmc22xx
 

Enumerations

enum  esphome::tmc22xx::StandstillMode : uint8_t { esphome::tmc22xx::STANDSTILL_MODE_NORMAL = 0 , esphome::tmc22xx::STANDSTILL_MODE_FREEWHEELING = 1 , esphome::tmc22xx::STANDSTILL_MODE_COIL_SHORT_LS = 2 , esphome::tmc22xx::STANDSTILL_MODE_COIL_SHORT_HS = 3 }
 
enum  esphome::tmc22xx::DriverEvent : uint8_t {
  esphome::tmc22xx::DRIVER_EVENT_RESET = 0 , esphome::tmc22xx::DRIVER_EVENT_DRIVER_ERROR , esphome::tmc22xx::DRIVER_EVENT_CHARGE_PUMP_UNDERVOLTAGE , esphome::tmc22xx::DRIVER_EVENT_OVERTEMPERATURE_PREWARNING ,
  esphome::tmc22xx::DRIVER_EVENT_OVERTEMPERATURE , esphome::tmc22xx::DRIVER_EVENT_SHORT_TO_GROUND_A , esphome::tmc22xx::DRIVER_EVENT_SHORT_TO_GROUND_B , esphome::tmc22xx::DRIVER_EVENT_LOW_SIDE_SHORT_A ,
  esphome::tmc22xx::DRIVER_EVENT_LOW_SIDE_SHORT_B , esphome::tmc22xx::DRIVER_EVENT_OPEN_LOAD_A , esphome::tmc22xx::DRIVER_EVENT_OPEN_LOAD_B , esphome::tmc22xx::DRIVER_EVENT_TEMPERATURE_120C ,
  esphome::tmc22xx::DRIVER_EVENT_TEMPERATURE_143C , esphome::tmc22xx::DRIVER_EVENT_TEMPERATURE_150C , esphome::tmc22xx::DRIVER_EVENT_TEMPERATURE_157C , esphome::tmc22xx::DRIVER_EVENT_COUNT
}
 Driver conditions reported to on_status, in the order of their status bits: GSTAT bits 0-2, then DRV_STATUS bits 0-11. More...