/* Initialization function for the Q15 Biquad cascade filter.  */
void arm_biquad_cascade_df1_init_q15(arm_biquad_casd_df1_inst_q15 *S, uint8_t numStages, const q15_t *pCoeffs, q15_t *pState, int8_t postShift)
/* Initialization function for the Q15 Biquad cascade filter.  */
void arm_biquad_cascade_df1_init_q15(arm_biquad_casd_df1_inst_q15 *S, uint8_t numStages, const q15_t *pCoeffs, q15_t *pState, int8_t postShift)
{
  S->numStages = numStages;
  S->postShift = postShift;
  S->pCoeffs = pCoeffs;
  memset(pState, 0, (4U * (uint32_t) numStages) * sizeof(q15_t));
  S->pState = pState;
}