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

External I2C EEPROM configuration structure. More...

#include <bootloader_config.hpp>

Public Attributes

bool enable_eeprom {false}
 Enable external I2C EEPROM interface.
 
bootcfg::I2CSdaPin sda_pin {bootcfg::I2CSdaPin::GPIO5}
 I2C data pin selection.
 
bootcfg::I2CSclPin scl_pin {bootcfg::I2CSclPin::GPIO4}
 I2C clock pin selection.
 
uint8_t address_bits {0}
 I2C address bit configuration.
 
bootcfg::I2CFreq freq_code {bootcfg::I2CFreq::Freq100k}
 I2C communication frequency.
 

Detailed Description

External I2C EEPROM configuration structure.

Configures external I2C EEPROM interface including enable settings, pin assignments, and communication parameters.

Member Data Documentation

◆ address_bits

uint8_t tmc9660::I2CConfig::address_bits {0}

I2C address bit configuration.

◆ enable_eeprom

bool tmc9660::I2CConfig::enable_eeprom {false}

Enable external I2C EEPROM interface.

◆ freq_code

bootcfg::I2CFreq tmc9660::I2CConfig::freq_code {bootcfg::I2CFreq::Freq100k}

I2C communication frequency.

◆ scl_pin

bootcfg::I2CSclPin tmc9660::I2CConfig::scl_pin {bootcfg::I2CSclPin::GPIO4}

I2C clock pin selection.

◆ sda_pin

bootcfg::I2CSdaPin tmc9660::I2CConfig::sda_pin {bootcfg::I2CSdaPin::GPIO5}

I2C data pin selection.


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