Public Attributes | List of all members
interrupt_queue Struct Reference

#include <interrupt_queue.h>

Public Attributes

size_t count
size_t front
size_t back
uint16_t interrupts [INTERRUPT_QUEUE_CAPACITY]

Detailed Description

The interrupt_queue is a data structure to store interrupt messages to be processed by a DCPU at some later point.

Member Data Documentation

size_t interrupt_queue::back

The back of the queue. (Newest element)

size_t interrupt_queue::count

The number of messages currently in the queue.

size_t interrupt_queue::front

The front of the queue. (Oldest element)

uint16_t interrupt_queue::interrupts[INTERRUPT_QUEUE_CAPACITY]

Messages are written into this array.

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