iLLD_TC23x
1.0
|
![]() |
Functions | |
IFX_EXTERN void | Ifx_LowPassPt1_init (Ifx_LowPassPt1 *filter, const Ifx_LowPassPt1_Config *config) |
Set the low pass filter configuration. More... | |
IFX_INLINE void | Ifx_LowPassPt1_reset (Ifx_LowPassPt1 *filter) |
Reset the internal filter variable. More... | |
IFX_EXTERN float32 | Ifx_LowPassPt1_do (Ifx_LowPassPt1 *filter, float32 input) |
Execute the low pass filter. More... | |
This module implements a PT1 low pass filter. http://de.wikipedia.org/wiki/PT1-Glied
Formula:
with ,
,
with
,
,
IFX_EXTERN float32 Ifx_LowPassPt1_do | ( | Ifx_LowPassPt1 * | filter, |
float32 | input | ||
) |
Execute the low pass filter.
filter | Specifies PT1 filter. |
input | Specifies the filter input. |
Definition at line 55 of file Ifx_LowPassPt1.c.
IFX_EXTERN void Ifx_LowPassPt1_init | ( | Ifx_LowPassPt1 * | filter, |
const Ifx_LowPassPt1_Config * | config | ||
) |
Set the low pass filter configuration.
This function sets the low pass filter configuration and reset the filter output.
filter | Specifies PT1 filter. |
config | Specifies the PT1 filter configuration. |
Definition at line 38 of file Ifx_LowPassPt1.c.
Referenced by IfxGpt12_IncrEnc_init().
IFX_INLINE void Ifx_LowPassPt1_reset | ( | Ifx_LowPassPt1 * | filter) |
Reset the internal filter variable.
filter | Specifies PT1 filter. |
Definition at line 74 of file Ifx_LowPassPt1.h.