|
MSP DSP Library
|
Data Structures | |
| struct | msp_q15_to_iq31_params |
| Parameters for Q15 to IQ31 conversion. More... | |
| struct | msp_iq31_to_q15_params |
| Parameters for IQ31 to Q15 conversion. More... | |
| struct | msp_cmplx_q15_params |
| Parameters for creating Q15 complex vector from real and imaginary vectors. More... | |
| struct | msp_cmplx_iq31_params |
| Parameters for creating IQ31 complex vector from real and imaginary vectors. More... | |
| struct | msp_copy_q15_params |
| Parameters for Q15 vector copy function. More... | |
| struct | msp_copy_iq31_params |
| Parameters for IQ31 vector copy function. More... | |
| struct | msp_fill_q15_params |
| Parameters for Q15 real vector fill. More... | |
| struct | msp_fill_iq31_params |
| Parameters for IQ31 real vector fill. More... | |
| struct | msp_cmplx_fill_q15_params |
| Parameters for Q15 complex vector fill. More... | |
| struct | msp_cmplx_fill_iq31_params |
| Parameters for IQ31 complex vector fill. More... | |
| struct | msp_interleave_q15_params |
| Parameters for Q15 vector interleave. More... | |
| struct | msp_interleave_iq31_params |
| Parameters for IQ31 vector interleave. More... | |
| struct | msp_deinterleave_q15_params |
| Parameters for Q15 vector deinterleave. More... | |
| struct | msp_deinterleave_iq31_params |
| Parameters for IQ31 vector deinterleave. More... | |
| struct | msp_sinusoid_q15_params |
| Parameters for Q15 sinusoid generation. More... | |
Functions | |
| msp_status | msp_q15_to_iq31 (const msp_q15_to_iq31_params *params, const _q15 *src, _iq31 *dst) |
| Convert Q15 vector to IQ31 format. More... | |
| msp_status | msp_iq31_to_q15 (const msp_iq31_to_q15_params *params, const _iq31 *src, _q15 *dst) |
| Convert IQ31 vector to Q15 format. More... | |
| msp_status | msp_cmplx_q15 (const msp_cmplx_q15_params *params, const _q15 *real, const _q15 *imag, _q15 *dst) |
| Create Q15 complex vector from real and imaginary vectors. More... | |
| msp_status | msp_cmplx_iq31 (const msp_cmplx_iq31_params *params, const _iq31 *real, const _iq31 *imag, _iq31 *dst) |
| Create IQ31 complex vector from real and imaginary vectors. More... | |
| msp_status | msp_copy_q15 (const msp_copy_q15_params *params, const _q15 *src, _q15 *dst) |
| Real Q15 vector copy. More... | |
| msp_status | msp_copy_iq31 (const msp_copy_iq31_params *params, const _iq31 *src, _iq31 *dst) |
| Real IQ31 vector copy. More... | |
| msp_status | msp_fill_q15 (const msp_fill_q15_params *params, _q15 *dst) |
| Real Q15 vector fill with constant. More... | |
| msp_status | msp_fill_iq31 (const msp_fill_iq31_params *params, _iq31 *dst) |
| Real IQ31 vector fill with constant. More... | |
| msp_status | msp_cmplx_fill_q15 (const msp_cmplx_fill_q15_params *params, _q15 *dst) |
| Complex Q15 vector fill with constant. More... | |
| msp_status | msp_cmplx_fill_iq31 (const msp_cmplx_fill_iq31_params *params, _iq31 *dst) |
| Complex IQ31 vector fill with constant. More... | |
| msp_status | msp_interleave_q15 (const msp_interleave_q15_params *params, const _q15 *src, _q15 *dst) |
| Insert a single channel into a multiple-channel destination. More... | |
| msp_status | msp_interleave_iq31 (const msp_interleave_iq31_params *params, const _iq31 *src, _iq31 *dst) |
| Insert a single channel into a multiple-channel destination. More... | |
| msp_status | msp_deinterleave_q15 (const msp_deinterleave_q15_params *params, const _q15 *src, _q15 *dst) |
| Extract a single channel from multiple-channel source. More... | |
| msp_status | msp_deinterleave_iq31 (const msp_deinterleave_iq31_params *params, const _iq31 *src, _iq31 *dst) |
| Extract a single channel from multiple-channel source. More... | |
| msp_status | msp_sinusoid_q15 (const msp_sinusoid_q15_params *params, _q15 *dst) |
| Generate a sinusoid with specified amplitude and frequency. More... | |
This file provides utility functions for operations such as data copy, array fill and deinterleaving of channel data.
| msp_status msp_cmplx_fill_iq31 | ( | const msp_cmplx_fill_iq31_params * | params, |
| _iq31 * | dst | ||
| ) |
Complex IQ31 vector fill with constant.
| params | Pointer to the complex fill parameter structure. |
| dst | Pointer to the destination vector. |
| msp_status msp_cmplx_fill_q15 | ( | const msp_cmplx_fill_q15_params * | params, |
| _q15 * | dst | ||
| ) |
Complex Q15 vector fill with constant.
| params | Pointer to the complex fill parameter structure. |
| dst | Pointer to the destination vector. |
| msp_status msp_cmplx_iq31 | ( | const msp_cmplx_iq31_params * | params, |
| const _iq31 * | real, | ||
| const _iq31 * | imag, | ||
| _iq31 * | dst | ||
| ) |
Create IQ31 complex vector from real and imaginary vectors.
| params | Pointer to the parameter structure. |
| real | Pointer to the IQ31 real vector. |
| imag | Pointer to the IQ31 imaginary vector. |
| dst | Pointer to the IQ31 complex destination vector. |
| msp_status msp_cmplx_q15 | ( | const msp_cmplx_q15_params * | params, |
| const _q15 * | real, | ||
| const _q15 * | imag, | ||
| _q15 * | dst | ||
| ) |
Create Q15 complex vector from real and imaginary vectors.
| params | Pointer to the parameter structure. |
| real | Pointer to the Q15 real vector. |
| imag | Pointer to the Q15 imaginary vector. |
| dst | Pointer to the Q15 complex destination vector. |
| msp_status msp_copy_iq31 | ( | const msp_copy_iq31_params * | params, |
| const _iq31 * | src, | ||
| _iq31 * | dst | ||
| ) |
Real IQ31 vector copy.
| params | Pointer to the vector copy parameter structure. |
| src | Pointer to the source data to copy. |
| dst | Pointer to the destination vector. |
| msp_status msp_copy_q15 | ( | const msp_copy_q15_params * | params, |
| const _q15 * | src, | ||
| _q15 * | dst | ||
| ) |
Real Q15 vector copy.
| params | Pointer to the vector copy parameter structure. |
| src | Pointer to the source data to copy. |
| dst | Pointer to the destination vector. |
| msp_status msp_deinterleave_iq31 | ( | const msp_deinterleave_iq31_params * | params, |
| const _iq31 * | src, | ||
| _iq31 * | dst | ||
| ) |
Extract a single channel from multiple-channel source.
x[1], x[5], x[9], x[13]
| params | Pointer to the deinterleave parameter structure. |
| src | Pointer to the source data to deinterleave. |
| dst | Pointer to the destination data to store results. |
| msp_status msp_deinterleave_q15 | ( | const msp_deinterleave_q15_params * | params, |
| const _q15 * | src, | ||
| _q15 * | dst | ||
| ) |
Extract a single channel from multiple-channel source.
x[1], x[5], x[9], x[13]
| params | Pointer to the deinterleave parameter structure. |
| src | Pointer to the source data to deinterleave. |
| dst | Pointer to the destination data to store results. |
| msp_status msp_fill_iq31 | ( | const msp_fill_iq31_params * | params, |
| _iq31 * | dst | ||
| ) |
Real IQ31 vector fill with constant.
| params | Pointer to the vector copy parameter structure. |
| dst | Pointer to the destination vector. |
| msp_status msp_fill_q15 | ( | const msp_fill_q15_params * | params, |
| _q15 * | dst | ||
| ) |
Real Q15 vector fill with constant.
| params | Pointer to the vector copy parameter structure. |
| dst | Pointer to the destination vector. |
| msp_status msp_interleave_iq31 | ( | const msp_interleave_iq31_params * | params, |
| const _iq31 * | src, | ||
| _iq31 * | dst | ||
| ) |
Insert a single channel into a multiple-channel destination.
y[0], x[0], y[2], y[3], y[4], x[1], y[6], y[7] ...
| params | Pointer to the interleave parameter structure. |
| src | Pointer to the source data to interleave. |
| dst | Pointer to the destination data to interleave into. |
| msp_status msp_interleave_q15 | ( | const msp_interleave_q15_params * | params, |
| const _q15 * | src, | ||
| _q15 * | dst | ||
| ) |
Insert a single channel into a multiple-channel destination.
y[0], x[0], y[2], y[3], y[4], x[1], y[6], y[7] ...
| params | Pointer to the interleave parameter structure. |
| src | Pointer to the source data to interleave. |
| dst | Pointer to the destination data to interleave into. |
| msp_status msp_iq31_to_q15 | ( | const msp_iq31_to_q15_params * | params, |
| const _iq31 * | src, | ||
| _q15 * | dst | ||
| ) |
Convert IQ31 vector to Q15 format.
| params | Pointer to the parameter structure. |
| src | Pointer to the IQ31 source vector. |
| dst | Pointer to the Q15 destination vector. |
| msp_status msp_q15_to_iq31 | ( | const msp_q15_to_iq31_params * | params, |
| const _q15 * | src, | ||
| _iq31 * | dst | ||
| ) |
Convert Q15 vector to IQ31 format.
| params | Pointer to the parameter structure. |
| src | Pointer to the Q15 source vector. |
| dst | Pointer to the IQ31 destination vector. |
| msp_status msp_sinusoid_q15 | ( | const msp_sinusoid_q15_params * | params, |
| _q15 * | dst | ||
| ) |
Generate a sinusoid with specified amplitude and frequency.
| params | Pointer to the sinusoid parameter structure. |
| dst | Pointer to the destination to store generated sinusoid. |