|
HF-AS5047U Driver
0.1.0-dev
HF-AS5047U C++ Driver
|
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) | |
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.
|
staticconstexpr |
GPIO10 - Chip Select (active low)
|
staticconstexpr |
GPIO13 - SPI MISO (Master In Slave Out)
|
staticconstexpr |
GPIO11 - SPI MOSI (Master Out Slave In)
|
staticconstexpr |
GPIO12 - SPI Clock (SCLK)