HF-TMC9660 Driver
Hardware Agnostic C++ Driver for the TMC9660
|
Helper for configuring the TMC9660 bootloader registers. More...
Go to the source code of this file.
Classes | |
struct | tmc9660::LDOConfig |
Configuration of the on-chip LDO regulators. More... | |
struct | tmc9660::BootConfig |
Bootloader behaviour configuration. More... | |
struct | tmc9660::UARTConfig |
UART communication settings for the bootloader. More... | |
struct | tmc9660::RS485Config |
Optional RS485 transceiver control via the UART_TXEN pin. More... | |
struct | tmc9660::SPIBootConfig |
SPI interface used for bootloader commands. More... | |
struct | tmc9660::SPIFlashConfig |
External SPI flash configuration. More... | |
struct | tmc9660::I2CConfig |
External I2C EEPROM configuration. More... | |
struct | tmc9660::ClockConfig |
System clock selection parameters. More... | |
struct | tmc9660::GPIOConfig |
Initial state of the general purpose pins during boot. More... | |
struct | tmc9660::BootloaderConfig |
Aggregated bootloader configuration written by ::TMC9660Bootloader. More... | |
class | tmc9660::TMC9660Bootloader |
Convenience wrapper around the bootloader TMCL commands. More... | |
Namespaces | |
namespace | tmc9660 |
namespace | tmc9660::bootcfg |
namespace | tmc9660::bootaddr |
Variables | |
constexpr uint32_t | tmc9660::bootaddr::BASE = 0x00020000 |
Base offset of the configuration registers inside bank 5. | |
constexpr uint32_t | tmc9660::bootaddr::UART_ADDR = BASE + 0x02 |
UART device/host address register. | |
constexpr uint32_t | tmc9660::bootaddr::RS485_DELAY = BASE + 0x04 |
RS485 TXEN delay configuration. | |
constexpr uint32_t | tmc9660::bootaddr::COMM_CONFIG = BASE + 0x06 |
Communication selection (UART/SPI/RS485). | |
constexpr uint32_t | tmc9660::bootaddr::SPI_FLASH = BASE + 0x0A |
SPI flash configuration register. | |
constexpr uint32_t | tmc9660::bootaddr::I2C_CONFIG = BASE + 0x0C |
I2C EEPROM configuration register. | |
constexpr uint32_t | tmc9660::bootaddr::GPIO_OUT = BASE + 0x0E |
GPIO output level register. | |
constexpr uint32_t | tmc9660::bootaddr::GPIO_DIR = BASE + 0x10 |
GPIO direction register. | |
constexpr uint32_t | tmc9660::bootaddr::GPIO_PU = BASE + 0x12 |
GPIO pull-up register. | |
constexpr uint32_t | tmc9660::bootaddr::GPIO_PD = BASE + 0x14 |
GPIO pull-down register. | |
constexpr uint32_t | tmc9660::bootaddr::GPIO_ANALOG = BASE + 0x16 |
GPIO analog enable register. | |
constexpr uint32_t | tmc9660::bootaddr::CLOCK_CONFIG = BASE + 0x18 |
Clock configuration register. | |
Helper for configuring the TMC9660 bootloader registers.