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 long double | float64_t |
Macros | |
#define | C2000_IEEE754_TYPES |
The Ramp Generator (RAMPGEN) API provides a set of functions that generates a ramp signal of a desired frequency.
The following is a sequence of steps that can be followed to use the RAMPGEN API library functions in an existing C program. For a set of code examples that illustrates the use of this library, see the examples in the Digial Power SDK.
Before you can using the library you must add the libraries directory path as a searchable directory in the project include options. This can be done by right-clicking on the project in the Project Explorer window, selecting "Properties". In the window that opens, navigate to "Build, C2000 Compiler, Include Options". In the include path
window, click on the green add directory path button on the right and enter the path to the Digital Power SDK libraries directory.
This allows CCS to search the entire directory for library files.
Once that is done you should follow these steps incorporate this library into your project:
There is only one module in this package, the APIs can be referenced at RAMPGEN. The module headers are located at rampgen.h.
|
inlinestatic |