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

◆ nrf_axon_saturate_32_8()

nrf_axon_result_e nrf_axon_saturate_32_8 ( const int32_t * in_ptr,
int8_t * out_ptr,
uint16_t length,
nrf_axon_syncmode_blocking_e block_mode,
bool keep_reservation )

Saturates a 32bit vector to 8bits, unpacked.

Parameters
in_ptrsource of data to saturate
out_ptrdestination of data to saturate. Must be 32bit aligned. Can be the same as in_ptr. Must be sized to a multiple of 4 bytes.
lengthnumber of elements to saturate. If not a multiple of 4, the remaining padding bytes up to a multiple of 4 will be undefined.