21#ifndef AT25040B_KCONFIG_HPP
22#define AT25040B_KCONFIG_HPP
25#if __has_include("sdkconfig.h")
32#ifndef CONFIG_AT25040B_WRITE_TIMEOUT_US
35#define CONFIG_AT25040B_WRITE_TIMEOUT_US 10000
46#ifdef CONFIG_AT25040B_VARIANT_AT25010B
48#elif defined(CONFIG_AT25040B_VARIANT_AT25020B)
53#if defined(CONFIG_AT25040B_SKIP_WRITE_ENABLE_CHECK) && CONFIG_AT25040B_SKIP_WRITE_ENABLE_CHECK
54 c.check_write_enable =
false;
#define CONFIG_AT25040B_WRITE_TIMEOUT_US
Definition at25040b_kconfig.hpp:35
Public types of the AT25040B driver: errors, Result<T>, variants, block protection and configuration.
@ At25040b
512 bytes (4 Kbit), A8 in the opcode. The default.
@ At25020b
256 bytes (2 Kbit).
@ At25010b
128 bytes (1 Kbit).
The AT25040B driver: everything it declares lives here; internals in detail.
Definition at25040b.hpp:30
constexpr Config KconfigDefaults() noexcept
The configuration menuconfig selected.
Definition at25040b_kconfig.hpp:44
What the driver is told about the board. The chip itself has nothing to configure: its only setting,...
Definition at25040b_types.hpp:361
Variant variant
Definition at25040b_types.hpp:362