|
HardFOC Core
API reference
|
HAL-level handler for the NXP SE050 / SE050A secure element (I²C, T=1oI2C). More...
#include <atomic>#include <cstddef>#include <cstdint>#include "RtosMutex.h"#include "base/BaseGpio.h"#include "base/BaseI2c.h"#include "core/hf-core-drivers/external/hf-se050-driver/inc/se050_device.hpp"#include "core/hf-core-drivers/external/hf-se050-driver/inc/se050_i2c_transport_interface.hpp"Go to the source code of this file.
Classes | |
| class | HalI2cSe050Comm |
CRTP adapter mapping BaseI2c primitives to se050::I2cTransceiveInterface. More... | |
| struct | Se050HandlerConfig |
Runtime tuning for one SE050 instance on a BaseI2c device. More... | |
| class | Se050Handler |
Thread-safe façade around se050::Device<HalI2cSe050Comm>. More... | |
HAL-level handler for the NXP SE050 / SE050A secure element (I²C, T=1oI2C).
Bridges BaseI2c (and optional BaseGpio for SE_RESET) to the header-only se050::Device<TransportT> from hf-se050-driver, mirroring the Fdo2Handler / Pca9685Handler pattern:
HalI2cSe050Comm implements se050::I2cTransceiveInterface<HalI2cSe050Comm> using BaseI2c::Write / Read / WriteRead with RTOS-safe delays,Se050Handler owns the adapter plus se050::Device<HalI2cSe050Comm>,RtosMutex (private mutex by default; optional shared mutex when several devices share one I²C bus).After EnsureInitialized() succeeds, use GetDevice() for applet commands (GetVersion, GetRandom, key lifecycle, secure objects, cloud onboarding, …) exactly like the standalone ESP32 examples under hf-se050-driver/examples/esp32/main/ (see app_config.yml for the full matrix, including se050_aws_iot_lifecycle and host-side tools/ for factory flows).