TMCStepper
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

constexpr static uint8_t address = 0x38
 

Detailed Description

Definition at line 145 of file TMC5130_bitfields.h.

Member Data Documentation

◆ @157

union { ... }

◆ address

constexpr static uint8_t ENCMODE_t::address = 0x38
staticconstexpr

Definition at line 146 of file TMC5130_bitfields.h.

◆ clr_cont

bool ENCMODE_t::clr_cont

Definition at line 154 of file TMC5130_bitfields.h.

◆ clr_enc_x

bool ENCMODE_t::clr_enc_x

Definition at line 158 of file TMC5130_bitfields.h.

◆ clr_once

bool ENCMODE_t::clr_once

Definition at line 155 of file TMC5130_bitfields.h.

◆ enc_sel_decimal

bool ENCMODE_t::enc_sel_decimal

Definition at line 160 of file TMC5130_bitfields.h.

◆ ignore_ab

bool ENCMODE_t::ignore_ab

Definition at line 153 of file TMC5130_bitfields.h.

◆ latch_x_act

bool ENCMODE_t::latch_x_act

Definition at line 159 of file TMC5130_bitfields.h.

◆ neg_edge

bool ENCMODE_t::neg_edge

Definition at line 157 of file TMC5130_bitfields.h.

◆ pol_a

bool ENCMODE_t::pol_a

Definition at line 150 of file TMC5130_bitfields.h.

◆ pol_b

bool ENCMODE_t::pol_b

Definition at line 151 of file TMC5130_bitfields.h.

◆ pol_n

bool ENCMODE_t::pol_n

Definition at line 152 of file TMC5130_bitfields.h.

◆ pos_edge

bool ENCMODE_t::pos_edge

Definition at line 156 of file TMC5130_bitfields.h.

◆ sr

uint16_t ENCMODE_t::sr

Definition at line 148 of file TMC5130_bitfields.h.


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