diff options
author | Uros Majstorovic <majstor@majstor.org> | 2018-03-14 18:31:22 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2018-03-14 18:31:22 +0100 |
commit | 4b655364d426f8429b063d9746c754beca6f7d1f (patch) | |
tree | 73afa86876733d81cf0fc331643cb0a6cd036e5e /code/fe310/eos/interrupt.h | |
parent | 7e209672e005b911166f27b691acfc6c988e93fb (diff) |
fixed concerning new asm trap entry
Diffstat (limited to 'code/fe310/eos/interrupt.h')
-rw-r--r-- | code/fe310/eos/interrupt.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/code/fe310/eos/interrupt.h b/code/fe310/eos/interrupt.h index 7ef81b8..3ccfb21 100644 --- a/code/fe310/eos/interrupt.h +++ b/code/fe310/eos/interrupt.h @@ -5,4 +5,8 @@ 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); +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);
\ No newline at end of file |