Embedded Artistry Framework
Embedded Systems C++ Framework
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
InterruptManagerBase< TDerived, TIRQIDType, TPriorityType > Class Template Reference

#include <interrupt_manager.hpp>

Inheritance diagram for InterruptManagerBase< TDerived, TIRQIDType, TPriorityType >:
Inheritance graph

Public Member Functions

 InterruptManagerBase (const InterruptManagerBase &)=delete
 Deleted copy constructor. More...
 
const InterruptManagerBaseoperator= (const InterruptManagerBase &)=delete
 Deleted copy assignment operator. More...
 
 InterruptManagerBase (InterruptManagerBase &&)=delete
 Deleted move constructor. More...
 
InterruptManagerBaseoperator= (InterruptManagerBase &&)=delete
 Deleted move assignment operator. More...
 

Static Public Member Functions

static TPriorityType priority (TIRQIDType irq) noexcept
 
static TPriorityType priority (TIRQIDType irq, TPriorityType priority) noexcept
 
static void enableInterrupts () noexcept
 
static void disableInterrupts () noexcept
 
static void enable (TIRQIDType irq) noexcept
 
static void disable (TIRQIDType irq) noexcept
 
static bool enabled (TIRQIDType irq) noexcept
 
static bool pending (TIRQIDType irq) noexcept
 
static void clear (TIRQIDType irq) noexcept
 
static uintptr_t handler (TIRQIDType irq, uintptr_t func) noexcept
 
static uintptr_t handler (TIRQIDType irq) noexcept
 

Protected Member Functions

 InterruptManagerBase ()=default
 
 ~InterruptManagerBase ()=default
 

Constructor & Destructor Documentation

◆ InterruptManagerBase() [1/3]

template<typename TDerived, typename TIRQIDType = int8_t, typename TPriorityType = uint8_t>
InterruptManagerBase< TDerived, TIRQIDType, TPriorityType >::InterruptManagerBase ( const InterruptManagerBase< TDerived, TIRQIDType, TPriorityType > &  )
delete

Deleted copy constructor.

◆ InterruptManagerBase() [2/3]

template<typename TDerived, typename TIRQIDType = int8_t, typename TPriorityType = uint8_t>
InterruptManagerBase< TDerived, TIRQIDType, TPriorityType >::InterruptManagerBase ( InterruptManagerBase< TDerived, TIRQIDType, TPriorityType > &&  )
delete

Deleted move constructor.

◆ InterruptManagerBase() [3/3]

template<typename TDerived, typename TIRQIDType = int8_t, typename TPriorityType = uint8_t>
InterruptManagerBase< TDerived, TIRQIDType, TPriorityType >::InterruptManagerBase ( )
protecteddefault

◆ ~InterruptManagerBase()

template<typename TDerived, typename TIRQIDType = int8_t, typename TPriorityType = uint8_t>
InterruptManagerBase< TDerived, TIRQIDType, TPriorityType >::~InterruptManagerBase ( )
protecteddefault

Member Function Documentation

◆ clear()

template<typename TDerived, typename TIRQIDType = int8_t, typename TPriorityType = uint8_t>
static void InterruptManagerBase< TDerived, TIRQIDType, TPriorityType >::clear ( TIRQIDType  irq)
inlinestaticnoexcept

◆ disable()

template<typename TDerived, typename TIRQIDType = int8_t, typename TPriorityType = uint8_t>
static void InterruptManagerBase< TDerived, TIRQIDType, TPriorityType >::disable ( TIRQIDType  irq)
inlinestaticnoexcept

◆ disableInterrupts()

template<typename TDerived, typename TIRQIDType = int8_t, typename TPriorityType = uint8_t>
static void InterruptManagerBase< TDerived, TIRQIDType, TPriorityType >::disableInterrupts ( )
inlinestaticnoexcept

◆ enable()

template<typename TDerived, typename TIRQIDType = int8_t, typename TPriorityType = uint8_t>
static void InterruptManagerBase< TDerived, TIRQIDType, TPriorityType >::enable ( TIRQIDType  irq)
inlinestaticnoexcept

◆ enabled()

template<typename TDerived, typename TIRQIDType = int8_t, typename TPriorityType = uint8_t>
static bool InterruptManagerBase< TDerived, TIRQIDType, TPriorityType >::enabled ( TIRQIDType  irq)
inlinestaticnoexcept

◆ enableInterrupts()

template<typename TDerived, typename TIRQIDType = int8_t, typename TPriorityType = uint8_t>
static void InterruptManagerBase< TDerived, TIRQIDType, TPriorityType >::enableInterrupts ( )
inlinestaticnoexcept

◆ handler() [1/2]

template<typename TDerived, typename TIRQIDType = int8_t, typename TPriorityType = uint8_t>
static uintptr_t InterruptManagerBase< TDerived, TIRQIDType, TPriorityType >::handler ( TIRQIDType  irq,
uintptr_t  func 
)
inlinestaticnoexcept

◆ handler() [2/2]

template<typename TDerived, typename TIRQIDType = int8_t, typename TPriorityType = uint8_t>
static uintptr_t InterruptManagerBase< TDerived, TIRQIDType, TPriorityType >::handler ( TIRQIDType  irq)
inlinestaticnoexcept

◆ operator=() [1/2]

template<typename TDerived, typename TIRQIDType = int8_t, typename TPriorityType = uint8_t>
const InterruptManagerBase& InterruptManagerBase< TDerived, TIRQIDType, TPriorityType >::operator= ( const InterruptManagerBase< TDerived, TIRQIDType, TPriorityType > &  )
delete

Deleted copy assignment operator.

◆ operator=() [2/2]

template<typename TDerived, typename TIRQIDType = int8_t, typename TPriorityType = uint8_t>
InterruptManagerBase& InterruptManagerBase< TDerived, TIRQIDType, TPriorityType >::operator= ( InterruptManagerBase< TDerived, TIRQIDType, TPriorityType > &&  )
delete

Deleted move assignment operator.

◆ pending()

template<typename TDerived, typename TIRQIDType = int8_t, typename TPriorityType = uint8_t>
static bool InterruptManagerBase< TDerived, TIRQIDType, TPriorityType >::pending ( TIRQIDType  irq)
inlinestaticnoexcept

◆ priority() [1/2]

template<typename TDerived, typename TIRQIDType = int8_t, typename TPriorityType = uint8_t>
static TPriorityType InterruptManagerBase< TDerived, TIRQIDType, TPriorityType >::priority ( TIRQIDType  irq)
inlinestaticnoexcept

◆ priority() [2/2]

template<typename TDerived, typename TIRQIDType = int8_t, typename TPriorityType = uint8_t>
static TPriorityType InterruptManagerBase< TDerived, TIRQIDType, TPriorityType >::priority ( TIRQIDType  irq,
TPriorityType  priority 
)
inlinestaticnoexcept

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