/*******************************************************************************
*
*
* File:         s8_demo.h
* Description:  s8测试头文件
* Version:      V0.1
* Date:         2021-02-22
* Author:       Tempest
 *******************************************************************************/

#ifndef __AP_DEMO_H__
#define __AP_DEMO_H__

//#define DISABLE_TDDI_I2C_FUNCTION
//#define USE_WL518_INTERNAL_FLASH


/* 不同方案选择。选仅选1个*/
#define USE_FOR_SUMSUNG_S20PLUS
//#define USE_FOR_OPPO_RENO3_PRO

//#define DISPLAY_ONLY                 //leo``````````````````````````````````````````````````````````````````````````````10

//#define USE_FOR_SUMSUNG_S20Ultra  //定义这个版本，定义SWIER脚_jason
#ifdef USE_FOR_SUMSUNG_S20PLUS
#define AMOLED_NT37701_VNOX667    	  1

#define PANEL_INIT_CODE_ARRAY		 1				//换一种发初始化方式。减少代码量

#define ENABLE_TP_SLEEP
#define ADD_TIMER3_FUNCTION
//#define G_PHONE_INT_DEFAULT_LOW
#define USE_FOR_S10_BLUE_MODE						//S10蓝光模式
#define ADD_PANEL_DISPLAY_MODE						//屏幕模式功能。白平衡功能

#define USE_51_REG_ADJ_BL								//调光用51寄存器
#ifdef USE_51_REG_ADJ_BL
#define REG51_MAX_VALUE				0x3FF			//最大51值
#define REG51_MIN_VALUE				0x80			//最小51值。设置目的是调光看起来更合理。
#define SWIRE_MAX_VALUE				9				//最亮SWIRE值
#define SWIRE_STEP_VALUE				15				//调光级数
#endif
#endif

#define ADD_FINGERPRINT_FUNC			//指纹功能

#ifdef USE_FOR_OPPO_RENO3_PRO
#define AMOLED_NT37701_HX655    	  1
#endif


/**
* @brief  test system 主函数
* @param  none
* @retval none
*/
void ap_demo(void);
void S20_Start_init(void);
void app_tp_I2C_init(void);
#endif
