Use Interrupts for explicit gate control and ScopedDisable for a lexical critical section with restoration. The guard requires an Adapter that implements atomic save-and-disable.
Use Interrupts for direct gate control or pass a MaskControl& to ScopedDisable to restore the incoming state on scope exit.
Add this repository's include/ and the matching interrupt-contract/include/ to the C++11 include path. Include <interrupt/interrupt.hpp> and <interrupt/scoped_disable.hpp> and supply a live implementation of the matching Contract. The Core borrows it. In a future device composition, Devices will select the concrete Adapter and wire it to the Core.
Use Doxygen 1.18.0. From this repository root, create build/ if it does not exist, then run doxygen Doxyfile.
mkdir -p build
doxygen DoxyfileOn PowerShell, use New-Item -ItemType Directory -Force build for the first command. Open build/docs/html/index.html. Mermaid diagrams render in a browser with access to the Mermaid CDN. GitHub Pages publication runs on published releases and on manual dispatches from main once Pages is enabled.