34#include <p33CH512MP506S1.h>
38#include "../../../mcc_generated_files/system/pins.h"
44#include "../../../sources/driver/power_controller/drv_controller_TPBLPFC.h"
45#include "../sources_common/PFC_frameworkSetup.h"
71 ADCON3Lbits.CNVCHSEL = 15;
72 ADCON3Lbits.CNVRTCH = 1;
116 ADCON3Lbits.CNVCHSEL = 10;
121 IFS5bits.ADCAN0IF = 0;
159 IFS5bits.ADCAN1IF = 0;
This is the generated driver header file for the MAIN_CORE driver.
void dev_connect_numbers(void)
This is the typedef file for power controller.
PHASE_VALUES_t Phase_Values_PH2
Primary_Data_Handling primary_vac_values
PWR_CTRL_STATE_e pwr_ctrl_state
VMC_VALUES_t Vout_Control
PHASE_VALUES_t Phase_Values_PH1
This is the typedef file for power controller.
void _ADCAN1Interrupt(void)
void _ADCAN0Interrupt(void)
This is the driver header file for adc builds upon mcc.
void Drv_PwrCtrl_TPBLPFC_Stop(void)
This is the driver header file for the power controller misc app.
void Application_handler_PH2(void)
void Application_handler_PH1(void)
This is the driver header file for the power controller app.
#define ACmonitorTrigger_SetLow()
Sets the RB13 GPIO Pin which has a custom name of ACmonitorTrigger to Low.
#define ACmonitorTrigger_SetHigh()
Sets the RB13 GPIO Pin which has a custom name of ACmonitorTrigger to High.
#define TP4_DPPIM_RD13_SetHigh()
Sets the RD13 GPIO Pin which has a custom name of TP4_DPPIM_RD13 to High.
#define TP4_DPPIM_RD13_SetLow()
Sets the RD13 GPIO Pin which has a custom name of TP4_DPPIM_RD13 to Low.
bool MAIN_CORE_ProtocolRead(enum MAIN_CORE_PROTOCOLS protocolName, uint16_t *pData)
This routine reads data from mailbox.
volatile int16_t Rectified
ANALOG_VALUES_t Phase_Voltage
ANALOG_VALUES_t Phase_Current
struct PFC_FLAGS_s::@30::@32 bits
volatile unsigned OV_Vout
volatile unsigned DataReceivedOK