TMCStepper
PWMCONF_t Struct Reference

#include <TMC2130_bitfields.h>

Public Attributes

union {
   uint32_t   sr: 22
 
   struct {
      uint8_t   pwm_ampl: 8
 
      uint8_t   pwm_grad: 8
 
      uint8_t   pwm_freq: 2
 
      bool   pwm_autoscale: 1
 
      bool   pwm_symmetric: 1
 
      uint8_t   freewheel: 2
 
   } 
 
}; 
 

Static Public Attributes

constexpr static uint8_t address = 0x70
 

Detailed Description

Definition at line 209 of file TMC2130_bitfields.h.

Member Data Documentation

◆ @41

union { ... }

◆ address

constexpr static uint8_t PWMCONF_t::address = 0x70
staticconstexpr

Definition at line 210 of file TMC2130_bitfields.h.

◆ freewheel

uint8_t PWMCONF_t::freewheel

Definition at line 219 of file TMC2130_bitfields.h.

◆ pwm_ampl

uint8_t PWMCONF_t::pwm_ampl

Definition at line 214 of file TMC2130_bitfields.h.

◆ pwm_autoscale

bool PWMCONF_t::pwm_autoscale

Definition at line 217 of file TMC2130_bitfields.h.

◆ pwm_freq

uint8_t PWMCONF_t::pwm_freq

Definition at line 216 of file TMC2130_bitfields.h.

◆ pwm_grad

uint8_t PWMCONF_t::pwm_grad

Definition at line 215 of file TMC2130_bitfields.h.

◆ pwm_symmetric

bool PWMCONF_t::pwm_symmetric

Definition at line 218 of file TMC2130_bitfields.h.

◆ sr

uint32_t PWMCONF_t::sr

Definition at line 212 of file TMC2130_bitfields.h.


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