![]() |
Edge AI Add-on API 2.3.0
|
| nrf_axon_result_e nrf_axon_sqrt_24 | ( | const int32_t * | in_ptr, |
| int32_t * | out_ptr, | ||
| uint16_t | length, | ||
| nrf_axon_syncmode_blocking_e | block_mode, | ||
| bool | keep_reservation ) |
#include <include/drivers/axon/nrf_axon_dsp_intrinsics.h>
"Sqrt"=> "Square Root" Calculates a the square root of vector input, output=SQRT(input). Note that the radix of the result is half the radix of the input.
| in_ptr | pointer to the input, 24bit integer sign-extended to 32bits. |
| out_ptr | pointer to the output, int24 sign-extended to 32bits. Output can |
| length | length of the input (in elements). Must be a multiple of 2, at least 4, and maximum of 512. overlap/overwrite input. |
| block_mode | recommnended to be set to NRF_AXON_SYNC_MODE_BLOCKING_POLLING. |
| keep_reservation | set to true if there are subsequent axon operations to execute immediately on completion. true prevents axon from be taken by another user and/or being powered off. Set to false if axon will not be used immediately after to free axon for other users and/or power down if idle. |