/* ********************************************************************************************************* * * APPLICATION CONFIGURATION * * ST Microelectronics STM32 * with the * BPCB for VLFPR-48300 * * Filename : vi.h * Version : V1.00 * Programmer(s) : JK.Woo ********************************************************************************************************* */ #ifndef _VI_H_ #define _VI_H_ #include /* Public define ------------------------------------------------------------*/ #define VI_BUF_MAX 2 #define VI_CH_MAX 2 #define DSG_CURR_ID 0 #define CHG_CURR_ID 1 /* Public function prototypes -----------------------------------------------*/ void AppTaskVIAdc(void); u32 GetRealCurrentAdc(u8 id); s32 GetRealCurrentSum(void); void dec_relexation_tick(u32 tick); #ifdef CONSOLE_DEBUG void SDisplayCurrentAdcRealValue(u8 p); #endif // #ifdef CONSOLE_DEBUG #endif