Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Filter Class Reference
#include <Filter.h>
Public Member Functions | |
| Filter () | |
| Constructor. | |
| ~Filter () | |
| Destructor. | |
| int | filter_run (int input, int filter_type, bool init) |
| Runs Main Filter adjusted value due to filter input filter type. | |
| int | LPF (int input, bool init) |
| Implements Low Pass Filter Algorithm. | |
| int | HPF (int input, bool init) |
| Implements High Pass Filter Algorithm. | |
| int | BPF (int input, bool init) |
| Implements Band Pass Filter Algorithm LPF and HPF function. | |
Detailed Description
Filter class.
- Date:
- May 2020
Definition at line 11 of file Filter.h.
Constructor & Destructor Documentation
| Filter | ( | ) |
Constructor.
Definition at line 5 of file Filter.cpp.
| ~Filter | ( | ) |
Destructor.
Definition at line 8 of file Filter.cpp.
Member Function Documentation
| int BPF | ( | int | input, |
| bool | init | ||
| ) |
Implements Band Pass Filter Algorithm LPF and HPF function.
Definition at line 60 of file Filter.cpp.
| int filter_run | ( | int | input, |
| int | filter_type, | ||
| bool | init | ||
| ) |
Runs Main Filter adjusted value due to filter input filter type.
Definition at line 13 of file Filter.cpp.
| int HPF | ( | int | input, |
| bool | init | ||
| ) |
Implements High Pass Filter Algorithm.
Definition at line 45 of file Filter.cpp.
| int LPF | ( | int | input, |
| bool | init | ||
| ) |
Implements Low Pass Filter Algorithm.
Definition at line 30 of file Filter.cpp.
Generated on Wed Jul 13 2022 21:50:34 by
1.7.2