Class ArchAVR_IntCtrl

Inheritance Relationships

Base Types

Class Documentation

class ArchAVR_IntCtrl : public InterruptController, private SignalHook

Implementation of a interrupt controller for AVR series.

Public Functions

ArchAVR_IntCtrl(unsigned int vector_count, unsigned int vector_size)
virtual bool init(Device &device) override

Virtual method called when the device is initialised. This is where the peripheral can allocate its I/O registers, interrupts or connect signals.

Returns:

boolean indicates the success of all allocations.

virtual void raised(const signal_data_t &sigdata, int hooktag) override

Implementation of the signal hook. On a section change, the IRQs need to updated to take into account the access flag IntDisabled.

Protected Functions

virtual IRQ_t get_next_irq() const override

Implementation of the interrupt arbitration as per the AVR series. The lowest vectors have higher priority.