Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
iir_filter_single_pole_s32 Struct Reference

Signed 32-bit IIR single-pole filter with fraction saving. More...

#include <filter.h>

Data Fields

int32_t y_prev
 Previous filter output.
uint32_t alpha
 Filter time constant, 0-1 scaled by (1 << 32)
uint32_t error
 Accumulated fractional error from the previous step.

Detailed Description

Signed 32-bit IIR single-pole filter with fraction saving.

Fraction saving is a noise shaping method that ensures that the output of a DC input eventually equals that input.

Field Documentation

◆ alpha

uint32_t iir_filter_single_pole_s32::alpha

Filter time constant, 0-1 scaled by (1 << 32)

◆ error

uint32_t iir_filter_single_pole_s32::error

Accumulated fractional error from the previous step.

◆ y_prev

int32_t iir_filter_single_pole_s32::y_prev

Previous filter output.


The documentation for this struct was generated from the following file: