/**
 *******************************************************************************
 * @file  template/source/main.h
 * @brief This file contains the including files of main routine.
 @verbatim
   Change Logs:
   Date             Author          Notes
   xxxx-xx-xx       CDT             First version
 @endverbatim
 *******************************************************************************
 * Copyright (C) 2022-2023, Xiaohua Semiconductor Co., Ltd. All rights reserved.
 *
 * This software component is licensed by XHSC under BSD 3-Clause license
 * (the "License"); You may not use this file except in compliance with the
 * License. You may obtain a copy of the License at:
 *                    opensource.org/licenses/BSD-3-Clause
 *
 *******************************************************************************
 */
#ifndef __MAIN_H__
#define __MAIN_H__

#include "hc32_ll.h"
#include "hc32_ll_gpio.h"
#include "hc32_ll_hrpwm.h"
#include "hc32_ll_tmr0.h"
#include "hc32_ll_emb.h"
#include "hc32_ll_ADC.h"
#include "hc32_ll_DAC.h"
#include "hc32_ll_efm.h"
#include "def.h"
#include "hrtimer.h"
#include "Hrtim_debug.h"
#include "HC32F334_Drivers.h"
#include "ILLLC_SR_Product.h"
#include "Ctrl_Lib.h"

#define RAMFUNC __attribute__ ((section (".ramfunc")))
extern void TMR0_CompareIrqCallback(void);


extern int32_t  int32VoutCalibGainQ11;
extern int32_t  int32VoutCalibOffsentQ11;
extern int32_t  int32IoutCalibGainQ11;
extern int32_t  int32IoutCalibOffsentQ11;
extern int32_t  int32VinCalibGainQ11;
extern int32_t  int32VinCalibOffsentQ11;
extern int32_t  int32PriCurr1CalibGainQ11;
extern int32_t  int32PriCurr1CalibOffsentQ11;
extern int32_t  int32PriCurr2CalibGainQ11;
extern int32_t  int32PriCurr2CalibOffsentQ11;

#endif /* __MAIN_H__ */

/*******************************************************************************
 * EOF (not truncated)
 ******************************************************************************/
