TMCStepper
TMC2160_n::PWMCONF_t Struct Reference

#include <TMC2160_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 23 of file TMC2160_bitfields.h.

Member Data Documentation

◆ @53

union { ... }

◆ address

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

Definition at line 24 of file TMC2160_bitfields.h.

◆ freewheel

uint8_t TMC2160_n::PWMCONF_t::freewheel

Definition at line 33 of file TMC2160_bitfields.h.

◆ pwm_autograd

bool TMC2160_n::PWMCONF_t::pwm_autograd

Definition at line 32 of file TMC2160_bitfields.h.

◆ pwm_autoscale

bool TMC2160_n::PWMCONF_t::pwm_autoscale

Definition at line 31 of file TMC2160_bitfields.h.

◆ pwm_freq

uint8_t TMC2160_n::PWMCONF_t::pwm_freq

Definition at line 30 of file TMC2160_bitfields.h.

◆ pwm_grad

uint8_t TMC2160_n::PWMCONF_t::pwm_grad

Definition at line 29 of file TMC2160_bitfields.h.

◆ pwm_lim

uint8_t TMC2160_n::PWMCONF_t::pwm_lim

Definition at line 36 of file TMC2160_bitfields.h.

◆ pwm_ofs

uint8_t TMC2160_n::PWMCONF_t::pwm_ofs

Definition at line 28 of file TMC2160_bitfields.h.

◆ pwm_reg

uint8_t TMC2160_n::PWMCONF_t::pwm_reg

Definition at line 34 of file TMC2160_bitfields.h.

◆ sr

uint32_t TMC2160_n::PWMCONF_t::sr

Definition at line 26 of file TMC2160_bitfields.h.


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