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

External SPI flash memory configuration structure. More...

#include <bootloader_config.hpp>

Public Attributes

bool enable_flash {false}
 Enable external SPI flash interface.
 
bootcfg::SPIInterface flash_spi_iface {bootcfg::SPIInterface::SPI1}
 SPI interface for flash.
 
bootcfg::SPI0SckPin spi0_sck_pin {bootcfg::SPI0SckPin::GPIO6}
 SPI0 clock pin for flash.
 
uint8_t cs_pin {0}
 Chip select pin for flash.
 
bootcfg::SPIFlashFreq freq_div {bootcfg::SPIFlashFreq::Div4}
 SPI clock frequency divider.
 

Detailed Description

External SPI flash memory configuration structure.

Configures external SPI flash memory interface including enable settings, interface selection, and communication parameters.

Member Data Documentation

◆ cs_pin

uint8_t tmc9660::SPIFlashConfig::cs_pin {0}

Chip select pin for flash.

◆ enable_flash

bool tmc9660::SPIFlashConfig::enable_flash {false}

Enable external SPI flash interface.

◆ flash_spi_iface

bootcfg::SPIInterface tmc9660::SPIFlashConfig::flash_spi_iface {bootcfg::SPIInterface::SPI1}

SPI interface for flash.

◆ freq_div

bootcfg::SPIFlashFreq tmc9660::SPIFlashConfig::freq_div {bootcfg::SPIFlashFreq::Div4}

SPI clock frequency divider.

◆ spi0_sck_pin

bootcfg::SPI0SckPin tmc9660::SPIFlashConfig::spi0_sck_pin {bootcfg::SPI0SckPin::GPIO6}

SPI0 clock pin for flash.


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