TMCStepper
TMC2208_n::PWMCONF_t Struct Reference

#include <TMC2208_bitfields.h>

Public Attributes

union {
   uint32_t   sr
 
   struct {
      uint8_t   pwm_ofs: 8
 
      uint8_t   pwm_grad: 8
 
      uint8_t   pwm_freq: 2
 
      bool   pwm_autoscale: 1
 
      bool   pwm_autograd: 1
 
      uint8_t   freewheel: 2
 
      uint8_t   pwm_reg: 4
 
      uint8_t   pwm_lim: 4
 
   } 
 
}; 
 

Static Public Attributes

constexpr static uint8_t address = 0x70
 

Detailed Description

Definition at line 123 of file TMC2208_bitfields.h.

Member Data Documentation

◆ @85

union { ... }

◆ address

constexpr static uint8_t TMC2208_n::PWMCONF_t::address = 0x70
staticconstexpr

Definition at line 124 of file TMC2208_bitfields.h.

◆ freewheel

uint8_t TMC2208_n::PWMCONF_t::freewheel

Definition at line 133 of file TMC2208_bitfields.h.

◆ pwm_autograd

bool TMC2208_n::PWMCONF_t::pwm_autograd

Definition at line 132 of file TMC2208_bitfields.h.

◆ pwm_autoscale

bool TMC2208_n::PWMCONF_t::pwm_autoscale

Definition at line 131 of file TMC2208_bitfields.h.

◆ pwm_freq

uint8_t TMC2208_n::PWMCONF_t::pwm_freq

Definition at line 130 of file TMC2208_bitfields.h.

◆ pwm_grad

uint8_t TMC2208_n::PWMCONF_t::pwm_grad

Definition at line 129 of file TMC2208_bitfields.h.

◆ pwm_lim

uint8_t TMC2208_n::PWMCONF_t::pwm_lim

Definition at line 136 of file TMC2208_bitfields.h.

◆ pwm_ofs

uint8_t TMC2208_n::PWMCONF_t::pwm_ofs

Definition at line 128 of file TMC2208_bitfields.h.

◆ pwm_reg

uint8_t TMC2208_n::PWMCONF_t::pwm_reg

Definition at line 134 of file TMC2208_bitfields.h.

◆ sr

uint32_t TMC2208_n::PWMCONF_t::sr

Definition at line 126 of file TMC2208_bitfields.h.


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