21#ifndef AS5047U_KCONFIG_HPP
22#define AS5047U_KCONFIG_HPP
25#if __has_include("sdkconfig.h")
40#ifdef CONFIG_AS5047U_FRAME_16
42#elif defined(CONFIG_AS5047U_FRAME_32)
47#if defined(CONFIG_AS5047U_DIRECTION_CCW) && CONFIG_AS5047U_DIRECTION_CCW
50#if defined(CONFIG_AS5047U_DAEC_DISABLE) && CONFIG_AS5047U_DAEC_DISABLE
51 c.dynamic_compensation =
false;
Public types of the AS5047U driver: errors, Result<T>, configuration, decoded registers.
@ CounterClockwise
Inverted (DIR = 1).
@ Bits16
16-bit frames, no CRC: the fastest reads, but a corrupted reply goes unnoticed.
@ Bits32
32-bit frames: a pad byte, then a 24-bit frame (daisy chains).
@ Bits24
24-bit frames with CRC-8 in both directions. Default.
The AS5047U driver: everything it declares lives here; internals in detail.
Definition as5047u.hpp:24
constexpr Config KconfigDefaults() noexcept
The configuration menuconfig selected, on top of the defaults.
Definition as5047u_kconfig.hpp:38
Everything EnsureInitialized() and ApplyConfig() write to the chip.
Definition as5047u_types.hpp:287
FrameFormat frame
Definition as5047u_types.hpp:292