diff options
author | Uros Majstorovic <majstor@majstor.org> | 2020-02-19 06:47:43 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2020-02-19 06:47:43 +0100 |
commit | 6666a131ab36b1d96a854da80524d860f9a3884b (patch) | |
tree | 5039423cb8c5592c20f8dd3aec417158ac058484 /code/fe310/eos/interrupt.h | |
parent | 15bddabc5cbe0e751fadcaaa7f7c7c36bca61331 (diff) |
eve long press/double tap/inertial scroll
spi flush bugfix
resolved dependecies: spi -> net; event -> net
renamed various handlers
Diffstat (limited to 'code/fe310/eos/interrupt.h')
-rw-r--r-- | code/fe310/eos/interrupt.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/code/fe310/eos/interrupt.h b/code/fe310/eos/interrupt.h index 3b5dc7e..075e7eb 100644 --- a/code/fe310/eos/interrupt.h +++ b/code/fe310/eos/interrupt.h @@ -1,12 +1,10 @@ #include <stdint.h> -// Structures for registering different interrupt handlers -// for different parts of the application. -typedef void (*eos_intr_fptr_t) (void); +typedef void (*eos_intr_handler_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_handler(uint8_t int_num, eos_intr_fptr_t handler); +void eos_intr_set(uint8_t int_num, uint8_t priority, eos_intr_handler_t handler); +void eos_intr_set_handler(uint8_t int_num, eos_intr_handler_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); |