Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Vector bitwise XOR

Compute the logical bitwise XOR. More...

Functions

DSP_FUNC_SCOPE void zdsp_xor_u8 (const DSP_DATA uint8_t *src_a, const DSP_DATA uint8_t *src_b, DSP_DATA uint8_t *dst, uint32_t block_size)
 Compute the logical bitwise XOR of two fixed-point vectors.
 
DSP_FUNC_SCOPE void zdsp_xor_u16 (const DSP_DATA uint16_t *src_a, const DSP_DATA uint16_t *src_b, DSP_DATA uint16_t *dst, uint32_t block_size)
 Compute the logical bitwise XOR of two fixed-point vectors.
 
DSP_FUNC_SCOPE void zdsp_xor_u32 (const DSP_DATA uint32_t *src_a, const DSP_DATA uint32_t *src_b, DSP_DATA uint32_t *dst, uint32_t block_size)
 Compute the logical bitwise XOR of two fixed-point vectors.
 

Detailed Description

Compute the logical bitwise XOR.

There are separate functions for uint32_t, uint16_t, and uint7_t data types.

Function Documentation

◆ zdsp_xor_u16()

DSP_FUNC_SCOPE void zdsp_xor_u16 ( const DSP_DATA uint16_t src_a,
const DSP_DATA uint16_t src_b,
DSP_DATA uint16_t dst,
uint32_t  block_size 
)

#include <zephyr/dsp/basicmath.h>

Compute the logical bitwise XOR of two fixed-point vectors.

Parameters
[in]src_apoints to input vector A
[in]src_bpoints to input vector B
[out]dstpoints to output vector
[in]block_sizenumber of samples in each vector

◆ zdsp_xor_u32()

DSP_FUNC_SCOPE void zdsp_xor_u32 ( const DSP_DATA uint32_t src_a,
const DSP_DATA uint32_t src_b,
DSP_DATA uint32_t dst,
uint32_t  block_size 
)

#include <zephyr/dsp/basicmath.h>

Compute the logical bitwise XOR of two fixed-point vectors.

Parameters
[in]src_apoints to input vector A
[in]src_bpoints to input vector B
[out]dstpoints to output vector
[in]block_sizenumber of samples in each vector

◆ zdsp_xor_u8()

DSP_FUNC_SCOPE void zdsp_xor_u8 ( const DSP_DATA uint8_t src_a,
const DSP_DATA uint8_t src_b,
DSP_DATA uint8_t dst,
uint32_t  block_size 
)

#include <zephyr/dsp/basicmath.h>

Compute the logical bitwise XOR of two fixed-point vectors.

Parameters
[in]src_apoints to input vector A
[in]src_bpoints to input vector B
[out]dstpoints to output vector
[in]block_sizenumber of samples in each vector