ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
mt6701_spi.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::mt6701_spi::MT6701SPIComponent
 MT6701 over SSI: read-only, but each frame carries the field, push button and track-loss flags. More...
 

Namespaces

namespace  esphome
 
namespace  esphome::mt6701_spi
 

Enumerations

enum class  esphome::mt6701_spi::ProbeResult : uint8_t { esphome::mt6701_spi::PROBE_RESULT_NO_ENCODER , esphome::mt6701_spi::PROBE_RESULT_ALL_ZERO , esphome::mt6701_spi::PROBE_RESULT_OK }
 

Functions

bool esphome::mt6701_spi::decode_frame (const uint8_t frame[3], uint16_t &count, uint8_t &status)
 Decode a 24-bit SSI frame (14-bit angle, 4 status bits, 6-bit CRC); false when the CRC fails.
 
ProbeResult esphome::mt6701_spi::probe_result (uint8_t valid_frames, bool any_nonzero)