diff options
author | Per Åstrand <per.astrand@arm.com> | 2020-04-21 14:19:44 +0200 |
---|---|---|
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2020-05-11 07:12:51 +0000 |
commit | 25d78c0062908e91b4d0ae241600f4a077a19400 (patch) | |
tree | 58e2c3441a6c24b4fe6a55bc7fa7f6084643d62a /include | |
parent | 537c71cb602871b9957eeb07bca4d5740a2e7eb4 (diff) | |
download | ethos-u-core-driver-25d78c0062908e91b4d0ae241600f4a077a19400.tar.gz |
MLBEDSW-1796 Refactor IRQ initialization
Turn the IRQ initialization around, to have the application define the
interrupt handler and expose the driver routine that is to be called
when that happens.
Change-Id: Idbfba1b1d1a1eaf6678ee16e9583c496eb2287ed
Diffstat (limited to 'include')
-rw-r--r-- | include/ethosu_driver.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ethosu_driver.h b/include/ethosu_driver.h index 5d75852..7ab420a 100644 --- a/include/ethosu_driver.h +++ b/include/ethosu_driver.h @@ -92,6 +92,11 @@ int ethosu_invoke(const void *custom_data_ptr, */ void ethosu_abort(void); +/** + * Interrupt handler do be called on IRQ from Ethos-U + */ +void ethosu_irq_handler(void); + #ifdef __cplusplus } #endif |