DVT
This commit is contained in:
@@ -1,77 +0,0 @@
|
||||
#ifndef __USERAPI_H__
|
||||
#define __USERAPI_H__
|
||||
|
||||
#include "stdint.h"
|
||||
#include "bl_ic_config.h"
|
||||
|
||||
#include "SocApi.h"
|
||||
|
||||
#if (MODEL_TYPE== A5H_85_28_16_448_HY8108)//32ma-45ma-72ma
|
||||
#define SDR_CURRENT 409//32ma
|
||||
#define FF_CURRENT 921//72ma
|
||||
#define SDR_CURRENT_MA 320
|
||||
#define FF_CURRENT_MA 720
|
||||
#define MAX_CURRENT_MA 800
|
||||
#elif (MODEL_TYPE== A5HP_65_40_22_880_HY8108)//9.5ma-25ma-58ma
|
||||
#define SDR_CURRENT 121//9.5ma
|
||||
#define FF_CURRENT 742//58ma
|
||||
#define SDR_CURRENT_MA 95
|
||||
#define FF_CURRENT_MA 580
|
||||
#define MAX_CURRENT_MA 800
|
||||
#elif (MODEL_TYPE== A5HP_75_44_24_1056_HY8108)//9.5ma-26ma-38ma
|
||||
#define SDR_CURRENT 121//9.5ma
|
||||
#define FF_CURRENT 485//38ma
|
||||
#define SDR_CURRENT_MA 95
|
||||
#define FF_CURRENT_MA 380
|
||||
#define MAX_CURRENT_MA 800
|
||||
#elif (MODEL_TYPE== A5HP_85_48_28_1344_HY8108)//11ma-22ma-58ma
|
||||
#define SDR_CURRENT 140//11ma
|
||||
#define FF_CURRENT 742//58ma
|
||||
#define SDR_CURRENT_MA 110
|
||||
#define FF_CURRENT_MA 580
|
||||
#define MAX_CURRENT_MA 800
|
||||
#endif
|
||||
|
||||
#define HC_FUNCTION_ADD_BIST_KEY_3 1
|
||||
|
||||
typedef enum {
|
||||
NORMAL_MODE = 0,
|
||||
ALL_LIGHT_MODE,
|
||||
HIGHEST_LIGHT_MODE,
|
||||
HORSE_RACE_LIGHT_MODE,
|
||||
STEP_5MA_MODE,
|
||||
ALL_LIGHT_0_50,
|
||||
HIGHEST_LIGHT_0_100,
|
||||
} TEST_MODE;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
BIST_KEY_MODE3_WHITE = 0,
|
||||
BIST_KEY_MODE3_WHITE1 = 1,
|
||||
BIST_KEY_MODE3_FLASH_EVERY_CHANNEL = 2,
|
||||
BIST_KEY_MODE3_SINGLE_HORSE_RACE = 3,
|
||||
BIST_KEY_MODE3_INVALID = 4
|
||||
} bist_key_status3;
|
||||
|
||||
extern uint8_t com_recv_buf[256];
|
||||
extern uint8_t com_send_buf[64];
|
||||
extern const uint16_t map_tab[ZONESIZE];
|
||||
|
||||
|
||||
uint16_t UserApi_ReadRegister(uint8_t laneIndex,uint8_t icIndex,uint8_t regAddr);
|
||||
|
||||
extern volatile uint16_t VsyncCounter;
|
||||
|
||||
void Read_TEMP(void);
|
||||
|
||||
extern void Project_Message(void);
|
||||
extern void Dimming_Process(void);
|
||||
|
||||
void Dimming_Process(void);
|
||||
void Button_Init(void);
|
||||
void BistLightUpAllProcess1(void);
|
||||
void BistLightUpAllProcess2(void);
|
||||
void BistLightUpAllProcess3(void);
|
||||
void Test_Process(void);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user