AM263x Digital Power SDK  09.01.00
APIs for Power Measurements Library

Introduction

Here is the list of APIs used for Digital Control Library

Files

file  power_meas_sine_analyzer.h
 Top level header that contains all Digital Controller Library functions.
 

Data Structures

struct  POWER_MEAS_SINE_ANALYZER
 Defines the POWER_MEAS_SINE_ANALYZER structure. More...
 

Functions

static void POWER_MEAS_SINE_ANALYZER_reset (POWER_MEAS_SINE_ANALYZER *v)
 Resets internal data to zero. More...
 
static void POWER_MEAS_SINE_ANALYZER_config (POWER_MEAS_SINE_ANALYZER *v, float32_t isrFrequency, float32_t threshold, float32_t gridMaxFreq, float32_t gridMinFreq)
 Configures the power measurment module. More...
 
static void POWER_MEAS_SINE_ANALYZER_run (POWER_MEAS_SINE_ANALYZER *v)
 Perform calculations using the POWER_MEAS_SINE_ANALYZER module. More...
 

Typedefs

typedef float float32_t
 
typedef double float64_t
 

Macros

#define IEEE754_TYPES
 

Macro Definition Documentation

◆ IEEE754_TYPES

#define IEEE754_TYPES

Typedef Documentation

◆ float32_t

typedef float float32_t

◆ float64_t

typedef double float64_t

Function Documentation

◆ POWER_MEAS_SINE_ANALYZER_reset()

static void POWER_MEAS_SINE_ANALYZER_reset ( POWER_MEAS_SINE_ANALYZER v)
inlinestatic

Resets internal data to zero.

Parameters
*vThe POWER_MEAS_SINE_ANALYZER structure pointer

◆ POWER_MEAS_SINE_ANALYZER_config()

static void POWER_MEAS_SINE_ANALYZER_config ( POWER_MEAS_SINE_ANALYZER v,
float32_t  isrFrequency,
float32_t  threshold,
float32_t  gridMaxFreq,
float32_t  gridMinFreq 
)
inlinestatic

Configures the power measurment module.

Parameters
*vThe POWER_MEAS_SINE_ANALYZER structure pointer
isrFrequencyFrequency at which SPLL module is run
thresholdThreshold value to avoid zero crossing issues
gridMaxFreqMax grid frequency
gridMinFreqMin grid frequency

◆ POWER_MEAS_SINE_ANALYZER_run()

static void POWER_MEAS_SINE_ANALYZER_run ( POWER_MEAS_SINE_ANALYZER v)
inlinestatic

Perform calculations using the POWER_MEAS_SINE_ANALYZER module.

Parameters
*vThe POWER_MEAS_SINE_ANALYZER structure pointer