MHAA Interrupt Control Core v1.0.0
Interrupt gate control and scoped restoration
Loading...
Searching...
No Matches
mhaa::interrupt::ScopedDisable Class Reference

Atomically saves and masks on entry, then restores on scope exit. More...

#include <scoped_disable.hpp>

Public Member Functions

 ScopedDisable (MaskControl &control) noexcept
 ~ScopedDisable ()
 ScopedDisable (const ScopedDisable &)=delete
ScopedDisable & operator= (const ScopedDisable &)=delete

Detailed Description

Atomically saves and masks on entry, then restores on scope exit.

Definition at line 11 of file scoped_disable.hpp.

Constructor & Destructor Documentation

◆ ScopedDisable() [1/2]

mhaa::interrupt::ScopedDisable::ScopedDisable ( MaskControl & control)
inlineexplicitnoexcept

Definition at line 14 of file scoped_disable.hpp.

◆ ~ScopedDisable()

mhaa::interrupt::ScopedDisable::~ScopedDisable ( )
inline

Definition at line 17 of file scoped_disable.hpp.

◆ ScopedDisable() [2/2]

mhaa::interrupt::ScopedDisable::ScopedDisable ( const ScopedDisable & )
delete

Member Function Documentation

◆ operator=()

ScopedDisable & mhaa::interrupt::ScopedDisable::operator= ( const ScopedDisable & )
delete

The documentation for this class was generated from the following file: