summaryrefslogtreecommitdiff
path: root/code/fe310/eos/interrupt.h
blob: 7ef81b8e198803a27794f90d2eb7c5e9e4d5c537 (plain)
1
2
3
4
5
6
7
8
#include <stdint.h>

// Structures for registering different interrupt handlers
// for different parts of the application.
typedef void (*eos_intr_fptr_t) (void);

void eos_intr_init(void);
void eos_intr_set_handler(uint8_t int_num, uint8_t priority, eos_intr_fptr_t handler);