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

◆ nrf_axon_memset_32_output_stride()

nrf_axon_result_e nrf_axon_memset_32_output_stride ( int16_t set_val,
int32_t * out_ptr,
uint16_t length,
uint8_t output_extra_stride,
nrf_axon_syncmode_blocking_e block_mode,
bool keep_reservation )

Sets 32bit words with the value in set_val (which is limited to 16bits, but sign extended to 32bits).

otput_extra_stride allows words to be skipped over. Useful for setting FFT input imaginary coefficients to 0.

If output_extra_stride is not needed it can be set to 0, but using axon_memset_32() is preferred for better performance. @parameter out_ptr location to place output. Can safely overlap either input @parameter length number of of elements to fill. @parameter output_extra_stride Nuumber of output slots to skip between each output value (skipped slots are not modified)