HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
Loading...
Searching...
No Matches
DigitalOutputGuard.cpp File Reference

Implementation of the DigitalOutputGuard class for unified DigitalGpio. More...

Include dependency graph for DigitalOutputGuard.cpp:

Detailed Description

Implementation of the DigitalOutputGuard class for unified DigitalGpio.

The DigitalOutputGuard class provides RAII management of DigitalGpio instances when used as outputs, ensuring proper state management and cleanup. This implementation guarantees safe automatic management of GPIO output states with guaranteed cleanup even in exception scenarios, ensuring proper resource management and pin state control.

Author
Nebiyu Tadesse
Date
2025