TMCStepper
Library supporting Trinamic Stepper Drivers for Arduino platforms
Loading...
Searching...
No Matches
ENCMODE_t Struct Reference

#include <TMC5130_bitfields.h>

Public Attributes

union { 
   uint16_t   sr: 11 
   struct { 
      bool   pol_a: 1 
      bool   pol_b: 1 
      bool   pol_n: 1 
      bool   ignore_ab: 1 
      bool   clr_cont: 1 
      bool   clr_once: 1 
      bool   pos_edge: 1 
      bool   neg_edge: 1 
      bool   clr_enc_x: 1 
      bool   latch_x_act: 1 
      bool   enc_sel_decimal: 1 
   } 
}; 

Static Public Attributes

static constexpr uint8_t address = 0x38

Detailed Description

Definition at line 168 of file TMC5130_bitfields.h.

Member Data Documentation

◆ [union]

union { ... } ENCMODE_t

◆ address

uint8_t ENCMODE_t::address = 0x38
staticconstexpr

Definition at line 169 of file TMC5130_bitfields.h.

◆ clr_cont

bool ENCMODE_t::clr_cont

Definition at line 177 of file TMC5130_bitfields.h.

◆ clr_enc_x

bool ENCMODE_t::clr_enc_x

Definition at line 181 of file TMC5130_bitfields.h.

◆ clr_once

bool ENCMODE_t::clr_once

Definition at line 178 of file TMC5130_bitfields.h.

◆ enc_sel_decimal

bool ENCMODE_t::enc_sel_decimal

Definition at line 183 of file TMC5130_bitfields.h.

◆ ignore_ab

bool ENCMODE_t::ignore_ab

Definition at line 176 of file TMC5130_bitfields.h.

◆ latch_x_act

bool ENCMODE_t::latch_x_act

Definition at line 182 of file TMC5130_bitfields.h.

◆ neg_edge

bool ENCMODE_t::neg_edge

Definition at line 180 of file TMC5130_bitfields.h.

◆ pol_a

bool ENCMODE_t::pol_a

Definition at line 173 of file TMC5130_bitfields.h.

◆ pol_b

bool ENCMODE_t::pol_b

Definition at line 174 of file TMC5130_bitfields.h.

◆ pol_n

bool ENCMODE_t::pol_n

Definition at line 175 of file TMC5130_bitfields.h.

◆ pos_edge

bool ENCMODE_t::pos_edge

Definition at line 179 of file TMC5130_bitfields.h.

◆ sr

uint16_t ENCMODE_t::sr

Definition at line 171 of file TMC5130_bitfields.h.


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