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

Nordic NVIC Controller Interface Expansion. More...

#include <nordic_nvic.hpp>

Static Public Member Functions

template<typename TPeripheralType >
static uint32_t priority (const TPeripheralType *peripheral) noexcept
 
template<typename TPeripheralType >
static uint32_t priority (const TPeripheralType *peripheral, uint32_t p) noexcept
 
template<typename TPeripheralType >
static void enable (const TPeripheralType *peripheral) noexcept
 
template<typename TPeripheralType >
static void disable (const TPeripheralType *peripheral) noexcept
 
template<typename TPeripheralType >
static bool enabled (const TPeripheralType *peripheral) noexcept
 
template<typename TPeripheralType >
static bool pending (const TPeripheralType *peripheral) noexcept
 
template<typename TPeripheralType >
static void trigger (const TPeripheralType *peripheral) noexcept
 
template<typename TPeripheralType >
static void clear (const TPeripheralType *peripheral) noexcept
 
template<typename TPeripheralType >
static uintptr_t handler (const TPeripheralType *peripheral, uintptr_t func) noexcept
 
template<typename TPeripheralType >
static uintptr_t handler (const TPeripheralType *peripheral) noexcept
 

Private Member Functions

 NordicNVIC ()=default
 
 ~NordicNVIC ()=default
 

Detailed Description

Nordic NVIC Controller Interface Expansion.

This class can be used instead of the ARM controller to provide support for enabling IRQs using a peripheral base pointer

This class is not meant to be instantiated directly. Instead, use the static methods.

Constructor & Destructor Documentation

◆ NordicNVIC()

NordicNVIC::NordicNVIC ( )
privatedefault

◆ ~NordicNVIC()

NordicNVIC::~NordicNVIC ( )
privatedefault

Member Function Documentation

◆ clear()

template<typename TPeripheralType >
static void NordicNVIC::clear ( const TPeripheralType *  peripheral)
inlinestaticnoexcept

◆ disable()

template<typename TPeripheralType >
static void NordicNVIC::disable ( const TPeripheralType *  peripheral)
inlinestaticnoexcept

◆ enable()

template<typename TPeripheralType >
static void NordicNVIC::enable ( const TPeripheralType *  peripheral)
inlinestaticnoexcept

◆ enabled()

template<typename TPeripheralType >
static bool NordicNVIC::enabled ( const TPeripheralType *  peripheral)
inlinestaticnoexcept

◆ handler() [1/2]

template<typename TPeripheralType >
static uintptr_t NordicNVIC::handler ( const TPeripheralType *  peripheral,
uintptr_t  func 
)
inlinestaticnoexcept

◆ handler() [2/2]

template<typename TPeripheralType >
static uintptr_t NordicNVIC::handler ( const TPeripheralType *  peripheral)
inlinestaticnoexcept

◆ pending()

template<typename TPeripheralType >
static bool NordicNVIC::pending ( const TPeripheralType *  peripheral)
inlinestaticnoexcept

◆ priority() [1/2]

template<typename TPeripheralType >
static uint32_t NordicNVIC::priority ( const TPeripheralType *  peripheral)
inlinestaticnoexcept

◆ priority() [2/2]

template<typename TPeripheralType >
static uint32_t NordicNVIC::priority ( const TPeripheralType *  peripheral,
uint32_t  p 
)
inlinestaticnoexcept

◆ trigger()

template<typename TPeripheralType >
static void NordicNVIC::trigger ( const TPeripheralType *  peripheral)
inlinestaticnoexcept

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