AM263x Digital Power SDK  09.01.00
APIs for Ramp Generator Library

Introduction

Here is the list of APIs used for Digital Control Library

Data Structures

struct  RAMPGEN
 Defines the Ramp Signal Generator (RAMPGEN) structure. More...
 

Functions

static void RAMPGEN_reset (RAMPGEN *v)
 resets RAMPGEN internal storage data and outputs More...
 
static void RAMPGEN_config (RAMPGEN *v, float32_t isrFrequency, float32_t rampFrequency)
 configures RAMPGEN module More...
 
static void RAMPGEN_run (RAMPGEN *v)
 Run RAMPGEN 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

◆ RAMPGEN_reset()

static void RAMPGEN_reset ( RAMPGEN v)
inlinestatic

resets RAMPGEN internal storage data and outputs

Parameters
va pointer to a RAMPGEN structure

◆ RAMPGEN_config()

static void RAMPGEN_config ( RAMPGEN v,
float32_t  isrFrequency,
float32_t  rampFrequency 
)
inlinestatic

configures RAMPGEN module

Parameters
va pointer to a RAMPGEN structure
isrFrequencyFrequency at which the RAMGEN is called in ISR
rampFrequencyFrequency of the RAMP generated by RAMPGEN module

◆ RAMPGEN_run()

static void RAMPGEN_run ( RAMPGEN v)
inlinestatic

Run RAMPGEN module.

Parameters
va pointer to a RAMPGEN structure