HPM SDK
HPMicro Software Development Kit

Bitwise NOT Functions. More...

Functions

static void hpm_dsp_not_u32 (u32_t *src, u32_t *dst, uint32_t size)
 Compute the logical bitwise NOT of u32 vector. More...
 
static void hpm_dsp_not_u16 (u16_t *src, u16_t *dst, uint32_t size)
 Compute the logical bitwise NOT of u16 vector. More...
 
static void hpm_dsp_not_u8 (u8_t *src, u8_t *dst, uint32_t size)
 Compute the logical bitwise NOT of u8 vector. More...
 

Detailed Description

Bitwise NOT Functions.

Bitwise NOT functions calculate logical bitwise NOT value from elements of a source vector and write them one-by-one into a destination vector.

Andes DSP library supports distinct bitwise NOT functions for U32, U15 and U8 data types. These functions are introduced in the subsections below.

Function Documentation

◆ hpm_dsp_not_u16()

static void hpm_dsp_not_u16 ( u16_t *  src,
u16_t *  dst,
uint32_t  size 
)
inlinestatic

#include <middleware/hpm_math/hpm_math.h>

Compute the logical bitwise NOT of u16 vector.

Parameters
[in]*srcpointer of the input vector
[out]*dstpointer of the output vector
[in]sizenumber of elements in a vector

◆ hpm_dsp_not_u32()

static void hpm_dsp_not_u32 ( u32_t *  src,
u32_t *  dst,
uint32_t  size 
)
inlinestatic

#include <middleware/hpm_math/hpm_math.h>

Compute the logical bitwise NOT of u32 vector.

Parameters
[in]*srcpointer of the input vector
[out]*dstpointer of the output vector
[in]sizenumber of elements in a vector

◆ hpm_dsp_not_u8()

static void hpm_dsp_not_u8 ( u8_t *  src,
u8_t *  dst,
uint32_t  size 
)
inlinestatic

#include <middleware/hpm_math/hpm_math.h>

Compute the logical bitwise NOT of u8 vector.

Parameters
[in]*srcpointer of the input vector
[out]*dstpointer of the output vector
[in]sizenumber of elements in a vector