TMCStepper
TMC2130_n::DRV_STATUS_t Struct Reference

#include <TMC2130_bitfields.h>

Public Attributes

union {
   uint32_t   sr
 
   struct {
      uint16_t   sg_result: 10
 
      uint8_t   __pad0__: 5
 
      bool   fsactive: 1
 
      uint8_t   cs_actual: 5
 
      uint8_t bool   stallGuard: 3: 1
 
      uint8_t bool   ot: 1
 
      uint8_t bool   otpw: 1
 
      uint8_t bool   s2ga: 1
 
      uint8_t bool   s2gb: 1
 
      uint8_t bool   ola: 1
 
      uint8_t bool   olb: 1
 
      uint8_t bool   stst: 1
 
   } 
 
}; 
 

Static Public Attributes

constexpr static uint8_t address = 0x6F
 

Detailed Description

Definition at line 186 of file TMC2130_bitfields.h.

Member Data Documentation

◆ @37

union { ... }

◆ __pad0__

uint8_t TMC2130_n::DRV_STATUS_t::__pad0__

Definition at line 192 of file TMC2130_bitfields.h.

◆ address

constexpr static uint8_t TMC2130_n::DRV_STATUS_t::address = 0x6F
staticconstexpr

Definition at line 187 of file TMC2130_bitfields.h.

◆ cs_actual

uint8_t TMC2130_n::DRV_STATUS_t::cs_actual

Definition at line 194 of file TMC2130_bitfields.h.

◆ fsactive

bool TMC2130_n::DRV_STATUS_t::fsactive

Definition at line 193 of file TMC2130_bitfields.h.

◆ ola

uint8_t bool TMC2130_n::DRV_STATUS_t::ola

Definition at line 201 of file TMC2130_bitfields.h.

◆ olb

uint8_t bool TMC2130_n::DRV_STATUS_t::olb

Definition at line 202 of file TMC2130_bitfields.h.

◆ ot

uint8_t bool TMC2130_n::DRV_STATUS_t::ot

Definition at line 197 of file TMC2130_bitfields.h.

◆ otpw

uint8_t bool TMC2130_n::DRV_STATUS_t::otpw

Definition at line 198 of file TMC2130_bitfields.h.

◆ s2ga

uint8_t bool TMC2130_n::DRV_STATUS_t::s2ga

Definition at line 199 of file TMC2130_bitfields.h.

◆ s2gb

uint8_t bool TMC2130_n::DRV_STATUS_t::s2gb

Definition at line 200 of file TMC2130_bitfields.h.

◆ sg_result

uint16_t TMC2130_n::DRV_STATUS_t::sg_result

Definition at line 191 of file TMC2130_bitfields.h.

◆ sr

uint32_t TMC2130_n::DRV_STATUS_t::sr

Definition at line 189 of file TMC2130_bitfields.h.

◆ stallGuard

uint8_t bool TMC2130_n::DRV_STATUS_t::stallGuard

Definition at line 195 of file TMC2130_bitfields.h.

◆ stst

uint8_t bool TMC2130_n::DRV_STATUS_t::stst

Definition at line 203 of file TMC2130_bitfields.h.


The documentation for this struct was generated from the following file: