[−][src]Function cmsis_dsp_sys_pregenerated::arm_fir_init_q15
pub unsafe extern "C" fn arm_fir_init_q15(
S: *mut arm_fir_instance_q15,
numTaps: u16,
pCoeffs: *const q15_t,
pState: *mut q15_t,
blockSize: u32
) -> Type
@brief Initialization function for the Q15 FIR filter.
@param[in,out] S points to an instance of the Q15 FIR filter structure.
@param[in] numTaps Number of filter coefficients in the filter. Must be even and greater than or equal to 4.
@param[in] pCoeffs points to the filter coefficients.
@param[in] pState points to the state buffer.
@param[in] blockSize number of samples that are processed at a time.
@return The function returns either
ARM_MATH_SUCCESS
if initialization was successful or
ARM_MATH_ARGUMENT_ERROR
if numTaps
is not a supported value.