Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches
nrf_axon_platform.h File Reference

Go to the source code of this file.

Macros

#define EXPORT_API
 

Functions

uint32_t nrf_axon_platform_get_clk_hz ()
 Global buffer for all axon nn model intermediate results.
 
uint32_t nrf_axon_platform_get_ticks ()
 Returns the current time in units returned by nrf_axon_platform_get_clk_hz().
 
void nrf_axon_platform_printf (const char *fmt,...)
 General purpose function for writing to the console.
 
nrf_axon_result_e nrf_axon_platform_init ()
 Peforms necessary one-time-only platform and driver initialization code.
 
void nrf_axon_platform_close ()
 Peforms necessary one-time-only platform and driver clean-up code on shutdown.
 
uint32_t nrf_axon_platform_disable_interrupts ()
 disable/enable all interrupts These functions are used by the driver to perform light-weight synchronization. Interrupts will be disabled to examine and potentially update a state variable that is used across multiple threads and potentially in the interrupt context.
 
void nrf_axon_platform_restore_interrupts (uint32_t restore_value)
 
bool nrf_axon_platform_reserve_for_driver ()
 Reserves Axon hardware use for asynchronous job processing by the driver.
 
void nrf_axon_platform_free_reservation_from_driver ()
 Frees the Axon hardware reservation made by nrf_axon_platform_reserve_for_driver().
 
bool nrf_axon_platform_reserve_for_user ()
 Reserves Axon hardware use for synchronous job processing by the user.
 
void nrf_axon_platform_free_reservation_from_user ()
 Frees the user's Axon reservation made with nrf_axon_platform_free_reservation_from_driver();.
 
void nrf_axon_platform_generate_driver_event ()
 Driver event to event processing synchronization function.
 
void nrf_axon_platform_wait_for_user_event ()
 Driver to User signaling in synchronous mode.
 
void nrf_axon_platform_generate_user_event ()
 
int nrf_axon_simulator_run_test_files (char *input_file_path, char *output_file_path, char *input_file_ext, char *output_file_head_str, uint32_t buffer_size, int(*callback_function)(char *input_file_name, char *output_file_name, int8_t *buffer, uint32_t buffer_size))