HF-AS5047U Driver  0.1.0-dev
HF-AS5047U C++ Driver
Loading...
Searching...
No Matches
AS5047U_TestConfig::SPIPins Struct Reference

SPI Configuration for ESP32-C6. More...

#include <esp32_as5047u_test_config.hpp>

Static Public Attributes

static constexpr uint8_t MISO = 13
 GPIO13 - SPI MISO (Master In Slave Out)
 
static constexpr uint8_t MOSI = 11
 GPIO11 - SPI MOSI (Master Out Slave In)
 
static constexpr uint8_t SCLK = 12
 GPIO12 - SPI Clock (SCLK)
 
static constexpr uint8_t CS = 10
 GPIO10 - Chip Select (active low)
 

Detailed Description

SPI Configuration for ESP32-C6.

These pins are used for SPI communication with the AS5047U. Ensure your hardware matches these pin assignments or modify accordingly.

Member Data Documentation

◆ CS

constexpr uint8_t AS5047U_TestConfig::SPIPins::CS = 10
staticconstexpr

GPIO10 - Chip Select (active low)

◆ MISO

constexpr uint8_t AS5047U_TestConfig::SPIPins::MISO = 13
staticconstexpr

GPIO13 - SPI MISO (Master In Slave Out)

◆ MOSI

constexpr uint8_t AS5047U_TestConfig::SPIPins::MOSI = 11
staticconstexpr

GPIO11 - SPI MOSI (Master Out Slave In)

◆ SCLK

constexpr uint8_t AS5047U_TestConfig::SPIPins::SCLK = 12
staticconstexpr

GPIO12 - SPI Clock (SCLK)


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