#include <loop_filter.h>
Collaboration diagram for SPUC::loop_filter< Numeric >:
Public Member Functions | |
loop_filter (void) | |
Constructor. | |
void | reset (void) |
Reset. | |
Numeric | update (Numeric error) |
Normal call with input, returns output. | |
Public Attributes | |
long | k0_en |
enable first order branch | |
long | k1_en |
enable second order branch | |
Numeric | k0 |
First order gain. | |
Numeric | k1 |
second order gain | |
Numeric | k1_acc |
Accumulator for k1 branch (should not be written to). | |
Protected Attributes | |
Numeric | loop_out |
Numeric | k1_prod |
Numeric | k0_prod |
: Template for 2nd order loop filter (for timing/carrier recovery, etc). Either branch can be enabled/disabled for 1st/2nd order operation There is no overflow protection on accumulator. Gains are not normalized.
|
Constructor.
|
|
Reset.
|
|
Normal call with input, returns output.
|
|
First order gain.
|
|
enable first order branch
|
|
|
|
second order gain
|
|
Accumulator for k1 branch (should not be written to).
|
|
enable second order branch
|
|
|
|
|