17#ifndef PCAL9555_KCONFIG_HPP
18#define PCAL9555_KCONFIG_HPP
21#if __has_include("sdkconfig.h")
28#ifndef CONFIG_PCAL9555_OUTPUT_HIGH_MASK
30#define CONFIG_PCAL9555_OUTPUT_HIGH_MASK 0xFFFF
32#ifndef CONFIG_PCAL9555_INPUT_MASK
34#define CONFIG_PCAL9555_INPUT_MASK 0xFFFF
45#ifdef CONFIG_PCAL9555_VARIANT_PCAL9555A
@ Pcal9555a
PCAL9555A: also the Agile I/O bank at 0x40 to 0x4F.
@ Pca9555
PCA9555 (or a PCAL9555A used as one): registers 0x00 to 0x07 only. Default.
The PCAL9555 driver: everything it declares lives here; internals in detail.
Definition pcal9555.hpp:26
constexpr Config KconfigDefaults() noexcept
The configuration menuconfig selected, on top of the power-up values.
Definition pcal9555_kconfig.hpp:43
#define CONFIG_PCAL9555_INPUT_MASK
Definition pcal9555_kconfig.hpp:34
#define CONFIG_PCAL9555_OUTPUT_HIGH_MASK
Definition pcal9555_kconfig.hpp:30
Public types of the PCAL9555 driver: errors, Result<T>, pins and configuration.
Everything EnsureInitialized() and ApplyConfig() write to the chip.
Definition pcal9555_types.hpp:302
Variant variant
Driver side: which part is fitted. The Agile I/O calls need Variant::Pcal9555a.
Definition pcal9555_types.hpp:304