;
;	Copyright (c) 2005 Bison Electronics Inc. 
;   BisonCam HS Setting
;

[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   xbMcuClkDiv     0x02    ; 0x8113
R   xbMcuClkCtrl    0xb0    ; 0x8112
R	xbSenClkDiv		0x00	; 0x8115
R	xbSenClkCtrl	0xB0	; 0x8114 24M
R	xbAdcCtrl		0xC0	; 0x8160 sensor enable and adc power down

R	xbSensorType	0x0D	; 0x8100 Clock enable, 80M, division disable	
R	xbSensorCtrl	0x00	; 0x8101 release reset

;R	xbGpioaEnH		0x06	; 0x8174
;R	xbGpioaEnL		0x00	; 0x8175
;R	xbGpioDir		0x37	; 0x8177 
;R	xbGpioDat		0x04	; 0x8176 

[AP_ON]
;R	xbSenClkDiv		0x00	; 0x8115
;R	xbSenClkCtrl	0x80	; 0x8114 24M
;R	xbAdcCtrl		0xC0	; 0x8160 sensor enable and adc power down

;R	xbSensorType	0x09	; 0x8100 Clock enable, 80M, division disable	
;R	xbSensorCtrl	0x00	; 0x8101 release reset  

; 
; GPIO2 = sensor power down
; GPIO3 = Capture Pin
; GPIO6 = Mirror Pin

[AP_OFF]
;R	xbSenClkDiv		0xB0	; 0x8115
;R	xbSenClkCtrl	0x80	; 0x8114
;R  xbMcuClkDiv     0xB0    ; 0x8113
;R  xbMcuClkCtrl    0x80    ; 0x8112
;R	xbGpioaEnH		0x06	; 0x8174
;R	xbGpioaEnL		0x00	; 0x8175
;R	xbGpioDir		0x37	; 0x8177 
;R	xbGpioDat		0x04	; 0x8176 

[SUSPEND]
[RESUME]
[END]
