Embedded Artistry Framework
Embedded Systems C++ Framework
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
ARMInterruptLock Class Reference

#include <arm_interrupt_lock.hpp>

Public Member Functions

 ARMInterruptLock () noexcept
 
 ~ARMInterruptLock ()=default
 
void lock () noexcept
 
void unlock () noexcept
 

Private Attributes

volatile uint32_t flags_
 

Static Private Attributes

static constexpr uint32_t mask = (1 << 7)
 

Constructor & Destructor Documentation

◆ ARMInterruptLock()

ARMInterruptLock::ARMInterruptLock ( )
inlinenoexcept

◆ ~ARMInterruptLock()

ARMInterruptLock::~ARMInterruptLock ( )
default

Member Function Documentation

◆ lock()

void ARMInterruptLock::lock ( )
inlinenoexcept

References flags_.

◆ unlock()

void ARMInterruptLock::unlock ( )
inlinenoexcept

References flags_, and mask.

Member Data Documentation

◆ flags_

volatile uint32_t ARMInterruptLock::flags_
private

Referenced by lock(), and unlock().

◆ mask

constexpr uint32_t ARMInterruptLock::mask = (1 << 7)
staticprivate

Referenced by unlock().


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