3-phase PV router
Loading...
Searching...
No Matches
CtFilter::Coefficients Struct Reference

The coefficients of the filter, in fixed point: the multiples the filter needs, ready. More...

#include <ct_filter.h>

Public Attributes

int16_t alpha
 
uint8_t alphaShift
 
int16_t alphaX2
 
int16_t alphaX4
 
int16_t gain
 
int16_t gainHalf
 
int16_t gainQuarter
 

Detailed Description

The coefficients of the filter, in fixed point: the multiples the filter needs, ready.

Definition at line 54 of file ct_filter.h.

Member Data Documentation

◆ alpha

int16_t CtFilter::Coefficients::alpha

alpha x 2^(16 + alphaShift)

Definition at line 56 of file ct_filter.h.

◆ alphaShift

uint8_t CtFilter::Coefficients::alphaShift

the extra resolution of alpha

Definition at line 59 of file ct_filter.h.

◆ alphaX2

int16_t CtFilter::Coefficients::alphaX2

2 x alpha

Definition at line 57 of file ct_filter.h.

◆ alphaX4

int16_t CtFilter::Coefficients::alphaX4

4 x alpha

Definition at line 58 of file ct_filter.h.

◆ gain

int16_t CtFilter::Coefficients::gain

gain x 2^8

Definition at line 60 of file ct_filter.h.

◆ gainHalf

int16_t CtFilter::Coefficients::gainHalf

gain x 2^7

Definition at line 61 of file ct_filter.h.

◆ gainQuarter

int16_t CtFilter::Coefficients::gainQuarter

gain x 2^6

Definition at line 62 of file ct_filter.h.


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