Files
LFP_48V_mBMS_FW/mBMS_APP_V3117/APP/vi.h

42 lines
1.1 KiB
C

/*
*********************************************************************************************************
*
* 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 <stm32f4xx.h>
/* 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