34#include "../../../mcc_generated_files/system/pins.h"
39#include "../../misc/MCC_add_on.h"
61 PG1TRIGC = PG1PER >> 1;
130#define SOFT_START_RAMP_SPEED 4
135 static uint16_t SoftstartCounter = 0;
141 if (++SoftstartCounter > 20)
181 SoftstartCounter = 0;
uint16_t OpenLoopStartupDuration
PHASE_VALUES_t Phase_Values_PH2
PWR_CTRL_STATE_e pwr_ctrl_state
uint16_t Adaptive_Gain_Factor
VMC_VALUES_t Vout_Control
PHASE_VALUES_t Phase_Values_PH1
This is the typedef file for power controller.
void VoltageController_PwrCtrl_TPBLPFC_Init(void)
void CurrentController_PwrCtrl_TPBLPFC_Init(void)
This is the driver header file for the power controller.
void Drv_PwrCtrl_TPBLPFC_Stop(void)
PWR_CTRL_STATE_e Softstart_reference(void)
void Drv_PwrCtrl_TPBLPFC_Init(void)
#define SOFT_START_RAMP_SPEED
Allows the user to change the advanced operating parameters.
static void PWM_DeadTimeLowSet(enum PWM_GENERATOR genNum, uint16_t deadtimeLow)
This inline function updates PWM Deadtime low register with the requested value for a specific PWM ge...
static void PWM_OverrideLowEnable(enum PWM_GENERATOR genNum)
This inline function enables PWM override on PWML output for specific PWM generator selected by the a...
static void PWM_OverrideHighEnable(enum PWM_GENERATOR genNum)
This inline function enables PWM override on PWMH output for specific PWM generator selected by the a...
static void PWM_GeneratorEnable(enum PWM_GENERATOR genNum)
This inline function enables the specific PWM generator selected by the argument PWM_GENERATOR.
static void PWM_DeadTimeHighSet(enum PWM_GENERATOR genNum, uint16_t deadtimeHigh)
This inline function updates PWM Deadtime high register with the requested value for a specific PWM g...
#define PWM_H_N_SetLow()
Sets the RD1 GPIO Pin which has a custom name of PWM_H_N to Low.
#define PWM_L_N_SetLow()
Sets the RD0 GPIO Pin which has a custom name of PWM_L_N to Low.
volatile uint16_t Filtered
volatile uint16_t VOUT_Hystresis_High
volatile uint16_t VOUT_Hystresis_Low
volatile uint16_t Reference_Set
volatile uint16_t VOUT_dV_dt_Hystresis_High
volatile uint16_t VOUT_dV_dt_Hystresis_Low
volatile uint16_t Reference_Internal
volatile uint16_t BurstModeCycleCounter
volatile unsigned Control_Freeze
struct CONTROL_STATUS_FLAGS_s::@24::@26 bits
volatile unsigned Reference_Changed
volatile unsigned BurstModeLatched
CONTROLLER_VALUES_t Controller_Values
CONTROL_STATUS_FLAGS_t Control_Status_Flags
CONTROL_REFERENCE_VALUES_t Reference