Function rc_filter_reset¶
Defined in File filter.h
Function Documentation¶
-
int rc_filter_reset(rc_filter_t *f)¶
Resets all previous inputs and outputs to 0. Also resets the step counter & saturation flag.
This is sufficient to start the filter again as if it were just created.
- Parameters
f – Pointer to user’s rc_filter_t struct
- Returns
Returns 0 on success or -1 on failure.