HardFOC Core
API reference
Loading...
Searching...
No Matches
Classes
Se050Handler.h File 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...
 

Detailed Description

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:

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).