CMSIS-DSP  Version 1.10.0
CMSIS DSP Software Library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
utils.h File Reference

Macros

#define INDEX_MASK
 Macros required for reciprocal calculation in Normalized LMS. More...
 
#define SQ(x)
 
#define ROUND_UP(N, S)
 

Functions

__STATIC_FORCEINLINE uint32_t arm_recip_q31 (q31_t in, q31_t *dst, const q31_t *pRecipTable)
 Function to Calculates 1/in (reciprocal) value of Q31 Data type. More...
 
__STATIC_FORCEINLINE uint32_t arm_recip_q15 (q15_t in, q15_t *dst, const q15_t *pRecipTable)
 Function to Calculates 1/in (reciprocal) value of Q15 Data type. More...
 
__STATIC_INLINE void arm_norm_64_to_32u (uint64_t in, int32_t *normalized, int32_t *norm)
 64-bit to 32-bit unsigned normalization More...
 
__STATIC_INLINE q31_t arm_div_q63_to_q31 (q63_t num, q31_t den)
 

Macro Definition Documentation

#define INDEX_MASK
#define ROUND_UP (   N,
  S 
)
#define SQ (   x)

Function Documentation

__STATIC_INLINE q31_t arm_div_q63_to_q31 ( q63_t  num,
q31_t  den 
)
__STATIC_INLINE void arm_norm_64_to_32u ( uint64_t  in,
int32_t *  normalized,
int32_t *  norm 
)
Parameters
[in]inis input unsigned long long value
[out]normalizedis the 32-bit normalized value
[out]normis norm scale
__STATIC_FORCEINLINE uint32_t arm_recip_q15 ( q15_t  in,
q15_t dst,
const q15_t pRecipTable 
)
__STATIC_FORCEINLINE uint32_t arm_recip_q31 ( q31_t  in,
q31_t dst,
const q31_t pRecipTable 
)