📄 camconfig.h
字号:
#ifndef __CAM_PLATEFORM_H_
#define __CAM_PLATEFORM_H_
#define CLC346_COMMON
//=====================================================================================
// Main CS Region ,need to modify according to the platform used
//=====================================================================================
#define LCD_Base 0x300000
//=====================================================================================
// Sub CS Region , need to modify according to the platform used
//=====================================================================================
//#define LCD_SubBase 0x300000
//=====================================================================================
// M_ADS pin for normal/bypass mode control , need to modify according to the platform used
//=====================================================================================
#define CLC346_MODE_CONTROL PORTA_BIT0
//=====================================================================================
// M_INTR ,interrupt pin configuration , need to modify according to the platform used
//=====================================================================================
#define CLC346_INT_PIN PORTB_BIT1
//====================================================================================
// define the sensor type
//====================================================================================
#define HYNIX_7131
#define SENSOR_HEIGTH 480
#define SENSOR_WIDTH 640
#define ZOOM_STEP 10
#define SENSOR_BRIGHT_MAX 240
#define SENSOR_BRIGHT_MIN 10
#define SENSOR_BRIGHT_STEP 20
#define SENSOR_BRIGHT_STEP_SIZE ((SENSOR_BRIGHT_MAX-SENSOR_BRIGHT_MIN)/SENSOR_BRIGHT_STEP)
//========================================================================================
// define the main LCD type
//=========================================================================================
#define RENESASHD_66789
//=========================================================================================
// define sub LCD type if have
//=========================================================================================
// #define SUB_LCD_ENABLE
//=====================================================================================
// Define Constants
//=====================================================================================
#define ON 0x01
#define OFF 0x00
#define UP 0x01
#define DOWN 0x00
#define HIGH 0x01
#define LOW 0x00
#ifndef _U16_
#define _U16_
#define U16 UINT16
#endif
#ifndef _U32_
#define _U32_
#define U32 UINT32
#endif
#ifndef _U8_
#define _U8_
#define U8 UINT8
#endif
#ifndef _S8_
#define _S8_
#define S8 INT8
#endif
#define Print GSMprintf
#define CPU16BITDATA 1
#define CPU32BITDATA 2
//#####################################################################################
#endif //__CLC346_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -