Bar Logo 3.8/7.6 kw Totem pole Demonstration Application (Part-No. (not specified))
 
Content
     
Loading...
Searching...
No Matches
drv_pwrctrl_app_TPBLPFC.h File Reference

This is the driver header file for the power controller app. More...

#include "../sources_common/Totempole_Application_Setup.h"
#include <xc.h>
+ Include dependency graph for drv_pwrctrl_app_TPBLPFC.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DCMIN   (800<<1)
 
#define DCMAX   (19200<<1)
 
#define FLOAT_TO_FRACT(val)   (val < 0.0) ? (32768 * (val) - 0.5) : (32767 * (val) + 0.5)
 
#define MIN_GAIN_FACTOR   (uint16_t)(FLOAT_TO_FRACT(0.1))
 
#define MAX_GAIN_FACTOR   (uint16_t)(FLOAT_TO_FRACT(0.8))
 

Functions

void Application_handler_PH1 (void)
 
void Application_handler_PH2 (void)
 

Detailed Description

Power Controller Typedef File

Definition in file drv_pwrctrl_app_TPBLPFC.h.

Macro Definition Documentation

◆ DCMAX

#define DCMAX   (19200<<1)

Definition at line 61 of file drv_pwrctrl_app_TPBLPFC.h.

◆ DCMIN

#define DCMIN   (800<<1)

@Company Microchip Technology Inc.

@File Name drv_pwrctrl_app_TPBLPFC.h

@Summary This is the generated driver implementation file using PIC24 / dsPIC33 / PIC32MM MCUs

@Description This source file provides Controller settings for average current mode and voltage mode controller. Generation Information : Product Revision : PIC24 / dsPIC33 / PIC32MM MCUs - 1.167.0 Device : dsPIC33CK256MP506
The generated drivers are tested against the following: Compiler : XC16 v1.70 MPLAB : MPLAB X v5.45

Definition at line 60 of file drv_pwrctrl_app_TPBLPFC.h.

◆ FLOAT_TO_FRACT

#define FLOAT_TO_FRACT ( val)    (val < 0.0) ? (32768 * (val) - 0.5) : (32767 * (val) + 0.5)

Definition at line 63 of file drv_pwrctrl_app_TPBLPFC.h.

◆ MAX_GAIN_FACTOR

#define MAX_GAIN_FACTOR   (uint16_t)(FLOAT_TO_FRACT(0.8))

Definition at line 66 of file drv_pwrctrl_app_TPBLPFC.h.

◆ MIN_GAIN_FACTOR

#define MIN_GAIN_FACTOR   (uint16_t)(FLOAT_TO_FRACT(0.1))

Definition at line 65 of file drv_pwrctrl_app_TPBLPFC.h.

Function Documentation

◆ Application_handler_PH1()

void Application_handler_PH1 ( void )

Definition at line 74 of file drv_pwrctrl_app_TPBLPFC.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Application_handler_PH2()

void Application_handler_PH2 ( void )

Definition at line 95 of file drv_pwrctrl_app_TPBLPFC.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: