TMC9660 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Variables
tmc9660::global0 Namespace Reference

Bank 0 numbers. More...

Variables

constexpr uint16_t SERIAL_ADDRESS = 1
 Module address, odd values only.
 
constexpr uint16_t SERIAL_HOST_ADDRESS = 2
 Host address.
 
constexpr uint16_t HEARTBEAT_MONITORING_CONFIG = 3
 0 off, 1 UART, 2 SPI, 3 both.
 
constexpr uint16_t HEARTBEAT_MONITORING_TIMEOUT = 4
 Timeout in ms.
 
constexpr uint16_t IO_DIRECTION_MASK = 5
 GPIO direction mask.
 
constexpr uint16_t IO_INPUT_PULLUP_PULLDOWN_ENABLE_MASK = 6
 Pull resistor enable mask.
 
constexpr uint16_t IO_INPUT_PULLUP_PULLDOWN_DIRECTION_MASK = 7
 Pull direction mask.
 
constexpr uint16_t WAKE_PIN_CONTROL_ENABLE = 10
 Enable the WAKE pin function.
 
constexpr uint16_t GO_TO_TIMEOUT_POWER_DOWN_STATE
 Write only: power down for 250 ms to 32 s.
 
constexpr uint16_t MAIN_LOOPS = 12
 Read only: main loops per second.
 
constexpr uint16_t TORQUE_LOOPS = 13
 Read only: torque loops per second.
 
constexpr uint16_t VELOCITY_LOOPS = 14
 Read only: velocity loops per second.
 
constexpr uint16_t AUTO_START_ENABLE = 77
 Start the script after power-up.
 
constexpr uint16_t CLEAR_USER_VARIABLES = 85
 Clear the user variables at start-up.
 

Detailed Description

Bank 0 numbers.

Variable Documentation

◆ GO_TO_TIMEOUT_POWER_DOWN_STATE

constexpr uint16_t tmc9660::global0::GO_TO_TIMEOUT_POWER_DOWN_STATE
inlineconstexpr
Initial value:
=
11

Write only: power down for 250 ms to 32 s.