![]() |
Edge AI Add-on API 2.2.0
|
| nrf_axon_result_e nrf_axon_queue_cmd_buf | ( | nrf_axon_queued_cmd_info_wrapper_s * | cmd_buf_wrapper | ) |
Asynchronous command buffer execution.
Low level function that adds a command buffer to the Axon command buffer queue to be executed at the next opportunity. Operates asynchronously; returns as soon as the command buffer has been added to the queue. Caller supplied call back function in cmd_buf_wrapper will be invoked upon completion.
For asynchronous AI Model inference, users should call the higher level function nrf_axon_nn_model_infer_async().
Caller is responsible for populating cmd_buf_wrapper, but driver manages it.
| [in] | cmd_buf_wrapper | wrapper struct that includes the command buffer and a callback function. Must allocated from static memory and remain valid until the callback function is invoked. (ie, can't be placed on the stack). Caller populates most of this structure, but driver manages. |