;
;	Copyright (c) 2007 Bison Electronics Inc. 
;  
;

[BEGIN]


[R_SXGA]
[R_SGA]
[R_VGA]
[R_CIF]
[R_QVGA]
[R_QCIF]
[R_QQVGA]

[CONTRAST0]
[CONTRAST10]
[CONTRAST20]
[CONTRAST30]
[CONTRAST40]
[CONTRAST50]
[CONTRAST60]
[CONTRAST70]
[CONTRAST80]
[CONTRAST90]
[CONTRAST100]

[SATURATION0]
[SATURATION10]
[SATURATION20]
[SATURATION30]
[SATURATION40]
[SATURATION50]
[SATURATION60]
[SATURATION70]
[SATURATION80]
[SATURATION90]
[SATURATION100]

[BRIGHTNESS0]
[BRIGHTNESS10]
[BRIGHTNESS20]
[BRIGHTNESS30]
[BRIGHTNESS40]
[BRIGHTNESS50]
[BRIGHTNESS60]
[BRIGHTNESS70]
[BRIGHTNESS80]
[BRIGHTNESS90]
[BRIGHTNESS100]

[SHARPNESS0]
[SHARPNESS10]
[SHARPNESS20]
[SHARPNESS30]
[SHARPNESS40]
[SHARPNESS50]
[SHARPNESS60]
[SHARPNESS70]
[SHARPNESS80]
[SHARPNESS90]
[SHARPNESS100]

[VGA_FLICKER_DISABLE_HS]
[VGA_FLICKER_60HZ_HS]
[VGA_FLICKER_50HZ_HS]
[VGA_FLICKER_DISABLE_FS]
[VGA_FLICKER_60HZ_FS]
[VGA_FLICKER_50HZ_FS]
[CIF_FLICKER_DISABLE_HS]
[CIF_FLICKER_60HZ_HS]
[CIF_FLICKER_50HZ_HS]
[CIF_FLICKER_DISABLE_FS]
[CIF_FLICKER_60HZ_FS]
[CIF_FLICKER_50HZ_FS]

[AWB]
[TUNGSTEN]	
[FLUORESCENT]
[DAYLIGHT]

[DSP_INIT]
R	xbUVCMode_08    0x01	; 0x9097 set Sensor by Pass Mode 
R	xbGpioCtrl0	    0x87	; 0xFF86 sensor interface enable
;R	xbSenClkDiv	    0x00	; 0xFF53 sensor clock dividor
;R	xbSenClkCtrl	0x80	; 0xFF52 sensor clock control (12 Mhz)
;R	xbCprClkDiv 	0x00	; 0xFF55 Color process clock dividor
;R	xbCprClkCtrl	0x00	; 0xFF54 Color process control (0 Mhz)
;R	xbJpgClkDiv 	0x00	; 0xFF57 Jpeg clock dividor
;R	xbJpgClkCtrl 	0x00	; 0xFF56 Jpeg clock control (0 Mhz)
;R	xbSenClkDiv	    0x00	; 0xFF53 sensor clock dividor
;R	xbSenClkCtrl	0x00	; 0xFF52 sensor clock control (0 Mhz)
R	xbGpioaEn	    0x00	; 0xFF94 GPIO enable
R	xbGpioaDatEn	0x00	; 0xFF95 GPIO enable

R	xbAP_ON_08	    0x00	; 0x9105 AP_ON 

[AP_ON]
R	xbUVCMode_08    0x00	; 0x9097 set Sensor by Pass Mode 
R	xbGpioCtrl0	    0x87	; 0xFF86 sensor interface enable
;R	xbSensorType	0x01	; 0xFF00 set Micron MI1310 polar

;R	xbTestMux	    0x10	; 0xFF2F Sensor bypass (Raw Data)

;R	xbMcuClkDiv	    0x01	; MCU = 16 Mhz    0xFF51
;R	xbMcuClkCtrl	0xB0	;                 0xFF50
;R	xbSenClkDiv	    0x00	; SEN = 24 Mhz    0xFF53
;R	xbSenClkCtrl	0xB0	;                 0xFF52
;R	xbCprClkDiv 	0x00	; CPR = 24 Mhz    0xFF55
;R	xbCprClkCtrl	0xB0	;                 0xFF54
;R	xbJpgClkDiv 	0x00	; JPG = 30 Mhz    0xFF57
;R	xbJpgClkCtrl 	0xD0	;                 0xFF56

;R	xbPixNumL 	0x02	;                 0xFF02
;R	xbPixNumH 	0x7F	;                 0xFF03
;R	xbLineNumL 	0x01	;                 0xFF04
;R	xbLineNumH 	0xDF	;                 0xFF05

;A	xbColorEngineEnable	0xFE	; 0xFF28  Color EngineEnable
;O	xbColorEngineEnable	0x01	; 0xFF28  Color EngineEnable

;O	xbSensorType		0x08	; Interface data input enable

[AP_OFF]
R	xbUVCMode_08    0x01	; 0x9097 set Sensor by Pass Mode 

[SUSPEND]
[RESUME]
[END]
