68#define NRF_AXON_GENERATE_VERSION(major,minor,patch) ( ((major)<<16) | ((minor) << 8) | (patch))
69#define NRF_AXON_VERSION NRF_AXON_GENERATE_VERSION(1, 3, 0)
72#if !defined(AXON_FORCE_32BIT_ADDR) && ((defined(__SIZEOF_POINTER__) && (__SIZEOF_POINTER__==8)) || defined(_WIN64))
239 bool keep_reservation);
252 uint32_t buffer_length);
nrf_axon_result_e nrf_axon_run_cmd_buf_sync(nrf_axon_cmd_buffer_info_s *cmd_buf_info, nrf_axon_syncmode_blocking_e block_mode, bool keep_reservation)
Synchronous command buffer execution.
nrf_axon_result_e
Axon driver return codes.
Definition nrf_axon_driver.h:86
@ NRF_AXON_RESULT_FAILURE_INVALID_LENGTH
Definition nrf_axon_driver.h:108
@ NRF_AXON_RESULT_FAILURE_MISSING_NULL_COEF
Definition nrf_axon_driver.h:96
@ NRF_AXON_RESULT_FAILURE_MISALIGNED_BUFFER
Definition nrf_axon_driver.h:102
@ NRF_AXON_RESULT_NULL_BUFFER
Definition nrf_axon_driver.h:98
@ NRF_AXON_RESULT_INVALID_MODEL
Definition nrf_axon_driver.h:90
@ NRF_AXON_RESULT_INVALID_CMD_BUF
Definition nrf_axon_driver.h:94
@ NRF_AXON_RESULT_BUFFER_TOO_SMALL
Definition nrf_axon_driver.h:92
@ NRF_AXON_RESULT_MUTEX_FAILED
Definition nrf_axon_driver.h:88
@ NRF_AXON_RESULT_NOT_FINISHED
Definition nrf_axon_driver.h:113
@ NRF_AXON_RESULT_SUCCESS
Definition nrf_axon_driver.h:112
@ NRF_AXON_RESULT_EVENT_PENDING
Definition nrf_axon_driver.h:117
@ NRF_AXON_RESULT_FAILURE
Definition nrf_axon_driver.h:110
@ NRF_AXON_RESULT_FAILURE_UNSUPPORTED_HARDWARE
Definition nrf_axon_driver.h:104
@ NRF_AXON_RESULT_FAILURE_INVALID_ROUNDING
Definition nrf_axon_driver.h:100
@ NRF_AXON_RESULT_FAILURE_HARDWARE_ERROR
Definition nrf_axon_driver.h:106
nrf_axon_result_e nrf_axon_queue_cmd_buf(nrf_axon_queued_cmd_info_wrapper_s *cmd_buf_wrapper)
Asynchronous command buffer execution.
int32_t NRF_AXON_PLATFORM_BITWIDTH_SIGNED_TYPE
Definition nrf_axon_driver.h:77
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....
nrf_axon_syncmode_blocking_e
Specifies the blocking mechanism for synchronous Axon command buffer execution.
Definition nrf_axon_driver.h:152
@ NRF_AXON_SYNC_MODE_BLOCKING_DEFERRED
Definition nrf_axon_driver.h:167
@ NRF_AXON_SYNC_MODE_BLOCKING_INVALID
Definition nrf_axon_driver.h:154
@ NRF_AXON_SYNC_MODE_BLOCKING_EVENT
Definition nrf_axon_driver.h:163
@ NRF_AXON_SYNC_MODE_BLOCKING_COUNT
Definition nrf_axon_driver.h:169
@ NRF_AXON_SYNC_MODE_BLOCKING_POLLING
Definition nrf_axon_driver.h:158
struct nrf_axon_queued_cmd_info_wrapper_s nrf_axon_queued_cmd_info_wrapper_s
Used as a parameter to nrf_axon_queue_cmd_buf for asynchronous execution.
uint32_t NRF_AXON_PLATFORM_BITWIDTH_UNSIGNED_TYPE
Definition nrf_axon_driver.h:76
uint32_t cur_segment_offset
Definition nrf_axon_driver.h:130
uint32_t length
Definition nrf_axon_driver.h:126
const NRF_AXON_PLATFORM_BITWIDTH_UNSIGNED_TYPE * cmd_buf_ptr
Definition nrf_axon_driver.h:128
Internal structure supplied by user but managed by the driver to track execution progress.
Definition nrf_axon_driver.h:124
void(* callback_function)(nrf_axon_result_e result, void *callback_context)
Definition nrf_axon_driver.h:182
void * callback_context
Definition nrf_axon_driver.h:180
nrf_axon_cmd_buffer_info_s * cmd_buf_info
Definition nrf_axon_driver.h:178
uint16_t input_size
Definition nrf_axon_driver.h:190
void(* copy_result_function)(void *callback_context)
Definition nrf_axon_driver.h:192
const int8_t * input_vector
Definition nrf_axon_driver.h:186
struct nrf_axon_queued_cmd_info_wrapper_s * next
Definition nrf_axon_driver.h:194
int8_t * input_buffer
Definition nrf_axon_driver.h:188
Used as a parameter to nrf_axon_queue_cmd_buf for asynchronous execution.
Definition nrf_axon_driver.h:176