Contains some of the functions used in the interrupt service routine of control loop. More...
#include <xc.h>
#include <math.h>
#include <stdbool.h>
#include <stdlib.h>
#include "adc/adc_types.h"
#include "adc/adc1.h"
#include "system/pins.h"
#include "pwrctrl.h"
#include "fault/fault.h"
#include "dcdt/pwrctrl_dcdt.h"
Go to the source code of this file.
Functions | |
void | PwrCtrl_UpdateADConverterData (void) |
This function updates the PSFB data members with ADC raw values. | |
void | PwrCtrl_ControlLoopExecute (void) |
Executes the power converter control loop. | |
void | PwrCtrl_DroopAverage (void) |
Averages secondary current for droop. | |
Definition in file pwrctrl_isr_extension.c.