From 9f95ff5b6ba01db09552b84a0ab79607060a2666 Mon Sep 17 00:00:00 2001 From: Ali Labbene Date: Wed, 11 Dec 2019 08:59:21 +0100 Subject: Official ARM version: v5.4.0 Add CMSIS V5.4.0, please refer to index.html available under \docs folder. Note: content of \CMSIS\Core\Include has been copied under \Include to keep the same structure used in existing projects, and thus avoid projects mass update Note: the following components have been removed from ARM original delivery (as not used in ST packages) - CMSIS_EW2018.pdf - .gitattributes - .gitignore - \Device - \CMSIS - \CoreValidation - \DAP - \Documentation - \DoxyGen - \Driver - \Pack - \RTOS\CMSIS_RTOS_Tutorial.pdf - \RTOS\RTX - \RTOS\Template - \RTOS2\RTX - \Utilities - All ARM/GCC projects files are deleted from \DSP, \RTOS and \RTOS2 Change-Id: Ia026c3f0f0d016627a4fb5a9032852c33d24b4d3 --- ...qualizer__example_2_a_r_m_2math__helper_8c.html | 749 --------------------- 1 file changed, 749 deletions(-) delete mode 100644 Documentation/DSP/html/arm__graphic__equalizer__example_2_a_r_m_2math__helper_8c.html (limited to 'Documentation/DSP/html/arm__graphic__equalizer__example_2_a_r_m_2math__helper_8c.html') diff --git a/Documentation/DSP/html/arm__graphic__equalizer__example_2_a_r_m_2math__helper_8c.html b/Documentation/DSP/html/arm__graphic__equalizer__example_2_a_r_m_2math__helper_8c.html deleted file mode 100644 index 5c463bd..0000000 --- a/Documentation/DSP/html/arm__graphic__equalizer__example_2_a_r_m_2math__helper_8c.html +++ /dev/null @@ -1,749 +0,0 @@ - - - - - -math_helper.c File Reference -CMSIS-DSP: math_helper.c File Reference - - - - - - - - - - - - - - - -
-
- - - - - - - -
-
CMSIS-DSP -  Version 1.4.7 -
-
CMSIS DSP Software Library
-
-
- -
-
    - -
-
- - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
arm_graphic_equalizer_example/ARM/math_helper.c File Reference
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

float arm_snr_f32 (float *pRef, float *pTest, uint32_t buffSize)
 Caluclation of SNR.
 
void arm_provide_guard_bits_q15 (q15_t *input_buf, uint32_t blockSize, uint32_t guard_bits)
 Provide guard bits for Input buffer.
 
void arm_float_to_q12_20 (float *pIn, q31_t *pOut, uint32_t numSamples)
 Converts float to fixed in q12.20 format.
 
uint32_t arm_compare_fixed_q15 (q15_t *pIn, q15_t *pOut, uint32_t numSamples)
 Compare MATLAB Reference Output and ARM Test output.
 
uint32_t arm_compare_fixed_q31 (q31_t *pIn, q31_t *pOut, uint32_t numSamples)
 Compare MATLAB Reference Output and ARM Test output.
 
void arm_provide_guard_bits_q31 (q31_t *input_buf, uint32_t blockSize, uint32_t guard_bits)
 Provide guard bits for Input buffer.
 
void arm_provide_guard_bits_q7 (q7_t *input_buf, uint32_t blockSize, uint32_t guard_bits)
 Provide guard bits for Input buffer.
 
uint32_t arm_calc_guard_bits (uint32_t num_adds)
 Caluclates number of guard bits.
 
void arm_apply_guard_bits (float32_t *pIn, uint32_t numSamples, uint32_t guard_bits)
 Converts Q15 to floating-point.
 
uint32_t arm_calc_2pow (uint32_t numShifts)
 Calculates pow(2, numShifts)
 
void arm_float_to_q14 (float *pIn, q15_t *pOut, uint32_t numSamples)
 Converts float to fixed q14.
 
void arm_float_to_q30 (float *pIn, q31_t *pOut, uint32_t numSamples)
 Converts float to fixed q30 format.
 
void arm_float_to_q29 (float *pIn, q31_t *pOut, uint32_t numSamples)
 Converts float to fixed q30 format.
 
void arm_float_to_q28 (float *pIn, q31_t *pOut, uint32_t numSamples)
 Converts float to fixed q28 format.
 
void arm_clip_f32 (float *pIn, uint32_t numSamples)
 Clip the float values to +/- 1.
 
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void arm_apply_guard_bits (float32_tpIn,
uint32_t numSamples,
uint32_t guard_bits 
)
-
-
Parameters
- - -
uint32_tnumber of samples in the buffer
-
-
-
Returns
none
- -

References arm_calc_2pow().

- -
-
- -
-
- - - - - - - - -
uint32_t arm_calc_2pow (uint32_t numShifts)
-
-
Parameters
- - -
uint32_tnumber of shifts
-
-
-
Returns
pow(2, numShifts)
- -
-
- -
-
- - - - - - - - -
uint32_t arm_calc_guard_bits (uint32_t num_adds)
-
-
Parameters
- - -
uint32_tnumber of additions
-
-
-
Returns
none The function Caluclates the number of guard bits depending on the numtaps
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void arm_clip_f32 (float * pIn,
uint32_t numSamples 
)
-
-
Parameters
- - - -
pIninput buffer
numSamplesnumber of samples in the buffer
-
-
-
Returns
none The function converts floating point values to fixed point values
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
uint32_t arm_compare_fixed_q15 (q15_tpIn,
q15_tpOut,
uint32_t numSamples 
)
-
-
Parameters
- - - - -
q15_t*Pointer to Ref buffer
q15_t*Pointer to Test buffer
uint32_tnumber of samples in the buffer
-
-
-
Returns
none
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
uint32_t arm_compare_fixed_q31 (q31_tpIn,
q31_tpOut,
uint32_t numSamples 
)
-
-
Parameters
- - - - -
q31_t*Pointer to Ref buffer
q31_t*Pointer to Test buffer
uint32_tnumber of samples in the buffer
-
-
-
Returns
none
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void arm_float_to_q12_20 (float * pIn,
q31_tpOut,
uint32_t numSamples 
)
-
-
Parameters
- - -
uint32_tnumber of samples in the buffer
-
-
-
Returns
none The function converts floating point values to fixed point(q12.20) values
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void arm_float_to_q14 (float * pIn,
q15_tpOut,
uint32_t numSamples 
)
-
-
Parameters
- - -
uint32_tnumber of samples in the buffer
-
-
-
Returns
none The function converts floating point values to fixed point values
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void arm_float_to_q28 (float * pIn,
q31_tpOut,
uint32_t numSamples 
)
-
-
Parameters
- - -
uint32_tnumber of samples in the buffer
-
-
-
Returns
none The function converts floating point values to fixed point values
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void arm_float_to_q29 (float * pIn,
q31_tpOut,
uint32_t numSamples 
)
-
-
Parameters
- - -
uint32_tnumber of samples in the buffer
-
-
-
Returns
none The function converts floating point values to fixed point values
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void arm_float_to_q30 (float * pIn,
q31_tpOut,
uint32_t numSamples 
)
-
-
Parameters
- - -
uint32_tnumber of samples in the buffer
-
-
-
Returns
none The function converts floating point values to fixed point values
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void arm_provide_guard_bits_q15 (q15_tinput_buf,
uint32_t blockSize,
uint32_t guard_bits 
)
-
-
Parameters
- - - - -
q15_t*Pointer to input buffer
uint32_tblockSize
uint32_tguard_bits
-
-
-
Returns
none The function Provides the guard bits for the buffer to avoid overflow
- -

References blockSize.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void arm_provide_guard_bits_q31 (q31_tinput_buf,
uint32_t blockSize,
uint32_t guard_bits 
)
-
-
Parameters
- - - - -
q31_t*Pointer to input buffer
uint32_tblockSize
uint32_tguard_bits
-
-
-
Returns
none The function Provides the guard bits for the buffer to avoid overflow
- -

References blockSize.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void arm_provide_guard_bits_q7 (q7_tinput_buf,
uint32_t blockSize,
uint32_t guard_bits 
)
-
-
Parameters
- - - - -
q31_t*Pointer to input buffer
uint32_tblockSize
uint32_tguard_bits
-
-
-
Returns
none The function Provides the guard bits for the buffer to avoid overflow
- -

References blockSize.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
float arm_snr_f32 (float * pRef,
float * pTest,
uint32_t buffSize 
)
-
-
Parameters
- - - - -
float*Pointer to the reference buffer
float*Pointer to the test buffer
uint32_ttotal number of samples
-
-
-
Returns
float SNR The function Caluclates signal to noise ratio for the reference output and test output
- -
-
-
-
- - - - -- cgit