HF-Core Platform 0.1.0-dev
Hardware-Agnostic Handler Layer & RTOS Utilities for HardFOC
Loading...
Searching...
No Matches
Pcal95555Handler.cpp File Reference

Implementation of the PCAL95555 GPIO expander handler. More...

#include "Pcal95555Handler.h"
#include "handlers/logger/Logger.h"
#include <cstring>
Include dependency graph for Pcal95555Handler.cpp:

Detailed Description

Implementation of the PCAL95555 GPIO expander handler.

Implements all three layers defined in Pcal95555Handler.h:

  1. HalI2cPcal95555Comm – CRTP I2C communication adapter
  2. Pcal95555Handler – Main handler (init, GPIO ops, interrupts, factory)
  3. Pcal95555GpioPin – Per-pin BaseGpio wrapper

All driver calls use the PascalCase API of the updated hf-pcal95555-driver (pcal95555::PCAL95555<I2cType>). Error handling follows the driver's error-flag model: individual methods return bool, with accumulated error flags available via GetErrorFlags().

See also
Pcal95555Handler.h for architectural overview and Doxygen documentation.
Author
HardFOC Team
Date
2025