HF-TMC9660 Driver 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC9660
Loading...
Searching...
No Matches
tmc9660::SPIEncConfig Struct Reference

SPI encoder configuration for SPI-based position sensors. More...

#include <bootloader_config.hpp>

Public Attributes

bool enable {false}
 
bootcfg::SPIEncBlock spi_block {bootcfg::SPIEncBlock::SPI0}
 
bootcfg::SPIEncMode spi_mode {bootcfg::SPIEncMode::Mode0}
 
bootcfg::SPIEncFreq spi_freq {bootcfg::SPIEncFreq::Div4}
 
bootcfg::SPIEncCSPin cs_pin {bootcfg::SPIEncCSPin::GPIO8}
 
bootcfg::SPIEncCSPol cs_polarity {bootcfg::SPIEncCSPol::ActiveLow}
 

Detailed Description

SPI encoder configuration for SPI-based position sensors.

Configures SPI encoder interface including block selection, communication mode, frequency, chip select settings, and polarity. Used for communicating with external SPI-based encoders or position sensors.

Member Data Documentation

◆ cs_pin

bootcfg::SPIEncCSPin tmc9660::SPIEncConfig::cs_pin {bootcfg::SPIEncCSPin::GPIO8}

◆ cs_polarity

bootcfg::SPIEncCSPol tmc9660::SPIEncConfig::cs_polarity {bootcfg::SPIEncCSPol::ActiveLow}

◆ enable

bool tmc9660::SPIEncConfig::enable {false}

◆ spi_block

bootcfg::SPIEncBlock tmc9660::SPIEncConfig::spi_block {bootcfg::SPIEncBlock::SPI0}

◆ spi_freq

bootcfg::SPIEncFreq tmc9660::SPIEncConfig::spi_freq {bootcfg::SPIEncFreq::Div4}

◆ spi_mode

bootcfg::SPIEncMode tmc9660::SPIEncConfig::spi_mode {bootcfg::SPIEncMode::Mode0}

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