[−][src]Function cmsis_dsp_sys_pregenerated::arm_fir_decimate_init_q31
pub unsafe extern "C" fn arm_fir_decimate_init_q31(
S: *mut arm_fir_decimate_instance_q31,
numTaps: u16,
M: u8,
pCoeffs: *const q31_t,
pState: *mut q31_t,
blockSize: u32
) -> Type
@brief Initialization function for the Q31 FIR decimator.
@param[in,out] S points to an instance of the Q31 FIR decimator structure.
@param[in] numTaps number of coefficients in the filter.
@param[in] M decimation factor.
@param[in] pCoeffs points to the filter coefficients.
@param[in] pState points to the state buffer.
@param[in] blockSize number of input samples to process per call.
@return The function returns ARM_MATH_SUCCESS if initialization is successful or ARM_MATH_LENGTH_ERROR if
blockSize
is not a multiple of M
.