Data Structures | Macros | Typedefs | Functions
EMAVG

Data Structures

struct  EMAVG
 Defines the Exponential Moving Average (EMAVG) structure. More...
 

Macros

#define C2000_IEEE754_TYPES
 

Typedefs

typedef float float32_t
 
typedef long double float64_t
 

Functions

static void EMAVG_reset (EMAVG *v)
 resets internal storage data More...
 
static void EMAVG_config (EMAVG *v, float32_t multiplier)
 configures EMAVG module More...
 
static void EMAVG_run (EMAVG *v, float in)
 Run EMAVG module. More...
 

Detailed Description

Macro Definition Documentation

◆ C2000_IEEE754_TYPES

#define C2000_IEEE754_TYPES

Typedef Documentation

◆ float32_t

typedef float float32_t

◆ float64_t

typedef long double float64_t

Function Documentation

◆ EMAVG_reset()

static void EMAVG_reset ( EMAVG v)
inlinestatic

resets internal storage data

Parameters
vThe EMAVG structure

References out.

◆ EMAVG_config()

static void EMAVG_config ( EMAVG v,
float32_t  multiplier 
)
inlinestatic

configures EMAVG module

Parameters
vThe EMAVG structure
multiplierMultiplier value

References multiplier.

◆ EMAVG_run()

static void EMAVG_run ( EMAVG v,
float  in 
)
inlinestatic

Run EMAVG module.

Parameters
vThe EMAVG structure
inInput

References multiplier, and out.


Copyright 2023, Texas Instruments Incorporated