This is the generated driver header file for the PWM driver.
This is the generated driver types header file for the PWM driver.
POWER_CONTROL_t * psfb_ptr
void PwrCtrl_Initialize(void)
Initialize the power control parameters.
static void PwrCtrl_StartUpInitialize(void)
Initialize the StartUp Ramp configuration.
void PwrCtrl_Execute(void)
Executes the power control state machine.
POWER_CONTROL_t psfb
Global data object for a PSFB Converter.
void PwrCtrl_OffsetDatatypesInitalize(void)
reset offset data types
void PwrCtrl_Reset(void)
Resets the power control properties.
void PwrCtrl_MaxDutyCycle(void)
Calculates the max duty cycle for precharge.
static void PwrCtrl_ControlLoopInitialize(void)
Initializes the control loop.
void PwrCtrl_StateMachine(POWER_CONTROL_t *pcInstance)
Manages the power control state machine.
void PwrCtrl_IComp_3p3z_Initialize(void)
Initialize the Current Loop Control.
void PwrCtrl_VComp_Initialize(void)
Initialize the Voltage Loop Control.
void PwrCtrl_ResetControlLoopHistories(void)
Clear the control and error histories of the control loops.
uint16_t Dev_PwrCtrl_GetAdc_Vpri(void)
API function to get the value of the sampled ADC for input Voltage.
bool RampComplete
indicates when ramp-up is complete
uint16_t Delay
Soft-Start Period (POD, RAMP PERIOD, PGD, etc.)
uint16_t * ptrReferenceTarget
pointer to the ramp-up reference target
uint16_t * ptrReference
pointer the reference variable
uint16_t Counter
Soft-Start Execution Counter. This setting is set/cleared by the device driver and is 'read only'.
uint16_t StepSize
Size/value of one reference increment/decrement or this period.
uint16_t Output
controller output
bool Enable
Enable control loop.
int16_t Reference
actual reference
int16_t AgcFactor
Adaptive gain control.
uint16_t PwrReference
User power reference setting used to control the converter controller.
int16_t IReference
User current reference setting used to control the converter controller.
uint16_t VPriReference
User primary-voltage port reference setting used to control the power converter output voltage in boo...
uint16_t VSecReference
User secondary-voltage port reference setting used to control the power converter output voltage in b...
Power control API structure.
CONTROLLER_t ILoop
structure for current controller data
CONTROLLER_t PLoop
structure for power controller data
PWR_CTRL_PROPERTIES_t Properties
Power Control properties
PRECHARGE_t Precharge
structure for precharge data
AVERAGING_t VoutCalibratingAveraging
structure for averaging Vout during Droop
CONTROLLER_t VLoop
structure for voltage controller data
AVERAGING_t SecondarySh_Offset
structure for averaging secondary sensor offset
AVERAGING_t PrimaryCT_Offset
structure for averaging primary CT offset
START_UP_RAMP_t VRamp
Voltage ramp-up settings.
START_UP_RAMP_t IRamp
Current ramp-up settings.