blob: 3ccfb21428a0fc63191a2a0cb668c1c1c0428867 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#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(uint8_t int_num, uint8_t priority, eos_intr_fptr_t handler);
void eos_intr_set_priority(uint8_t int_num, uint8_t priority);
void eos_intr_enable(uint8_t int_num);
void eos_intr_disable(uint8_t int_num);
void eos_intr_mask(uint8_t priority);
|