aboutsummaryrefslogtreecommitdiff
path: root/include/ethosu_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ethosu_driver.h')
-rw-r--r--include/ethosu_driver.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ethosu_driver.h b/include/ethosu_driver.h
index 46f777a..d47b676 100644
--- a/include/ethosu_driver.h
+++ b/include/ethosu_driver.h
@@ -44,6 +44,7 @@ struct ethosu_driver
uint64_t fast_memory;
size_t fast_memory_size;
bool status_error;
+ bool dev_power_always_on;
};
struct ethosu_version_id
@@ -126,6 +127,11 @@ void ethosu_abort(void);
*/
void ethosu_irq_handler(void);
+/**
+ * Set Ethos-U power mode.
+ */
+void ethosu_set_power_mode(bool);
+
#ifdef __cplusplus
}
#endif