Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches

◆ nrf_axon_init_command_buffer_info()

nrf_axon_result_e nrf_axon_init_command_buffer_info ( nrf_axon_cmd_buffer_info_s * cmd_buf_info_ptr,
const NRF_AXON_PLATFORM_BITWIDTH_UNSIGNED_TYPE * cmd_buf,
uint32_t buffer_length )

binds a command buffer to an nrf_axon_cmd_buffer_info_s struct and initializes it. Need only be called once per command buffer.

Parameters
[out]cmd_buf_info_ptrpointer to the struct that will be bound to.
cmd_bufbuffer containing compiled Axon code.
buffer_lengthlength of cmd_buf in units of elements, not bytes.
Returns
kAxonResultSuccess if success or a negative error code.