Miosix  2.0alpha1
miosix::InterruptDisableLock Class Reference

#include <kernel.h>

Public Member Functions

 InterruptDisableLock ()
 
 ~InterruptDisableLock ()
 

Detailed Description

This class is a RAII lock for disabling interrupts. This call avoids the error of not reenabling interrupts since it is done automatically.

Constructor & Destructor Documentation

miosix::InterruptDisableLock::InterruptDisableLock ( )
inline

Constructor, disables interrupts.

miosix::InterruptDisableLock::~InterruptDisableLock ( )
inline

Destructor, reenables interrupts


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