Contains Control loop interrupt Callback that acquires the ADC raw data and process it in the control loop, and use the control output for the PWM distribution for this converter. More...
#include <xc.h>
#include <math.h>
#include <stdbool.h>
#include <stdlib.h>
#include "adc/adc1.h"
#include "system/pins.h"
#include "pwrctrl.h"
#include "fault/fault.h"
#include "pwrctrl/pwrctrl_pwm.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. | |
void | ControlLoop_Interrupt_CallBack (void) |
Executes the power converter control loop. | |
Definition in file pwrctrl_isr.c.