modm API documentation
modm::platform::ExternalInterrupt Class Reference

#include <modm/platform/extint/extint.hpp>

Inheritance diagram for modm::platform::ExternalInterrupt:
modm::platform::ExtInt< instance >

Static Public Member Functions

static void initialize (ClockGenerator clockGen, int priority=(1ul<< __NVIC_PRIO_BITS)-1ul)
 

Static Protected Attributes

static std::array< std::function< void ()>, 16 > handlers_ = {}
 

Friends

void EIC_IRQHandler (void)
 

Detailed Description

External Interrupt handler for SAMD devices.

Author
Erik Henriksson

Member Function Documentation

void modm::platform::ExternalInterrupt::initialize ( ClockGenerator  clockGen,
int  priority = (1ul << __NVIC_PRIO_BITS) - 1ul 
)
static

Initializes the External Interrupt handler.

Parameters
clockGenThe clock generator to use for the peripheral. If any interrupts are to be used to akeup the CPU from standby mode, make sure this clock is actually running in standby.

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