Power, memory and security¶
Handlers for the PF1550 PMIC, the AT25040B SPI EEPROM and the SE050 secure element.
Pf1550Handler¶
HAL handler for NXP PF1550 PMIC (I2C + optional strap GPIOs).
- Header:
handlers/pf1550/Pf1550Handler.h - Switch:
HF_CORE_ENABLE_PF1550(default OFF) - Driver: hf-pf1550-driver
Pf1550Handler(
BaseI2c& i2c,
BaseGpio* standby_gpio = nullptr,
BaseGpio* usb_vbus_en_gpio = nullptr,
BaseGpio* usb_otg_en_gpio = nullptr);
| Group | Public methods |
|---|---|
| All | EnsureInitialized(), IsInitialized(), ApplyProfile(), ApplyPortentaH7Profile(), ApplyPortentaH7CarrierProfile(), SetPowerMode(), SetUsbRails(), ReadPmicStatus(), RefreshDiagnosticSnapshot(), RefreshStatusSnapshot(), ReadDiagnosticSnapshot(), RunPowerSelfTest(), ClearLatchedFaults(), HasMcuAffectingFault(), GetDriver() |
At25040Handler¶
SPI AT25040B handler — BaseSpi + optional /WP, lazy Probe.
- Header:
handlers/at25040/At25040Handler.h - Switch:
HF_CORE_ENABLE_AT25040(default OFF) - Driver: hf-at25040-driver
| Group | Public methods |
|---|---|
| All | Probe(), LastRdsr(), Read(), Write(), ReleaseWriteProtect(), ParkWriteProtect() |
Se050Handler¶
HAL-level handler for the NXP SE050 / SE050A secure element (I²C, T=1oI2C).
- Header:
handlers/se050/Se050Handler.h - Switch:
HF_CORE_ENABLE_SE050(default OFF) - Driver: hf-se050-driver
Se050Handler(
BaseI2c& i2c,
const Se050HandlerConfig& config = Se050HandlerConfig{},
BaseGpio* reset_gpio = nullptr,
RtosMutex* bus_mutex = nullptr);
| Group | Public methods |
|---|---|
| All | Config(), EnsureInitialized(), IsPresent(), GetDevice() |