HF-TMC9660 Driver
Hardware Agnostic C++ Driver for the TMC9660
Loading...
Searching...
No Matches
tmc9660::bootaddr Namespace Reference

Variables

constexpr uint32_t BASE = 0x00020000
 Base offset of the configuration registers inside bank 5.
 
constexpr uint32_t UART_ADDR = BASE + 0x02
 UART device/host address register.
 
constexpr uint32_t RS485_DELAY = BASE + 0x04
 RS485 TXEN delay configuration.
 
constexpr uint32_t COMM_CONFIG = BASE + 0x06
 Communication selection (UART/SPI/RS485).
 
constexpr uint32_t SPI_FLASH = BASE + 0x0A
 SPI flash configuration register.
 
constexpr uint32_t I2C_CONFIG = BASE + 0x0C
 I2C EEPROM configuration register.
 
constexpr uint32_t GPIO_OUT = BASE + 0x0E
 GPIO output level register.
 
constexpr uint32_t GPIO_DIR = BASE + 0x10
 GPIO direction register.
 
constexpr uint32_t GPIO_PU = BASE + 0x12
 GPIO pull-up register.
 
constexpr uint32_t GPIO_PD = BASE + 0x14
 GPIO pull-down register.
 
constexpr uint32_t GPIO_ANALOG = BASE + 0x16
 GPIO analog enable register.
 
constexpr uint32_t CLOCK_CONFIG = BASE + 0x18
 Clock configuration register.
 

Variable Documentation

◆ BASE

constexpr uint32_t tmc9660::bootaddr::BASE = 0x00020000
constexpr

Base offset of the configuration registers inside bank 5.

◆ CLOCK_CONFIG

constexpr uint32_t tmc9660::bootaddr::CLOCK_CONFIG = BASE + 0x18
constexpr

Clock configuration register.

◆ COMM_CONFIG

constexpr uint32_t tmc9660::bootaddr::COMM_CONFIG = BASE + 0x06
constexpr

Communication selection (UART/SPI/RS485).

◆ GPIO_ANALOG

constexpr uint32_t tmc9660::bootaddr::GPIO_ANALOG = BASE + 0x16
constexpr

GPIO analog enable register.

◆ GPIO_DIR

constexpr uint32_t tmc9660::bootaddr::GPIO_DIR = BASE + 0x10
constexpr

GPIO direction register.

◆ GPIO_OUT

constexpr uint32_t tmc9660::bootaddr::GPIO_OUT = BASE + 0x0E
constexpr

GPIO output level register.

◆ GPIO_PD

constexpr uint32_t tmc9660::bootaddr::GPIO_PD = BASE + 0x14
constexpr

GPIO pull-down register.

◆ GPIO_PU

constexpr uint32_t tmc9660::bootaddr::GPIO_PU = BASE + 0x12
constexpr

GPIO pull-up register.

◆ I2C_CONFIG

constexpr uint32_t tmc9660::bootaddr::I2C_CONFIG = BASE + 0x0C
constexpr

I2C EEPROM configuration register.

◆ RS485_DELAY

constexpr uint32_t tmc9660::bootaddr::RS485_DELAY = BASE + 0x04
constexpr

RS485 TXEN delay configuration.

◆ SPI_FLASH

constexpr uint32_t tmc9660::bootaddr::SPI_FLASH = BASE + 0x0A
constexpr

SPI flash configuration register.

◆ UART_ADDR

constexpr uint32_t tmc9660::bootaddr::UART_ADDR = BASE + 0x02
constexpr

UART device/host address register.