.stabs "E:\\DEMO资料汇总\\CSU38F20\\CSU38F20 DEMO\\adc\\",0x64,0,0,0
.stabs "E:\\DEMO资料汇总\\CSU38F20\\CSU38F20 DEMO\\adc\\adc.c",0x64,0,0,0
.stabs "int:t1=r1;-32768;32767;",0x80,0,0,0
.stabs "unsigned int:t2=r2;0;65535;",0x80,0,0,0
.stabs "long int:t3=r3;-2147483648;2147483647;",0x80,0,0,0
.stabs "unsigned long int:t4=r4;0;4294967295;",0x80,0,0,0
.stabs "long long unsigned int:t6=r6;0;4294967295;",0x80,0,0,0
.stabs "short int:t7=r7;-32768;32767;",0x80,0,0,0
.stabs "short unsigned int:t8=r8;0;65535;",0x80,0,0,0
.stabs "char:t9=r9;-128;127;",0x80,0,0,0
.stabs "unsigned char:t10=r10;0;255;",0x80,0,0,0
.stabs "_Bool:t11=r11;0;1;",0x80,0,0,0
.stabs "sbit:t12=r12;0;1;",0x80,0,0,0
.stabs "float:t13=r13;4;0;",0x80,0,0,0
.stabs "double:t14=r14;4;0;",0x80,0,0,0
.stabs "long double:t15=r15;4;0;",0x80,0,0,0
.stabs "void:t16=r10;0;255;",0x80,0,0,0




.include "csccCond.inc"
.include "csccCmp.inc"
.include "csccShift.inc"
	_adc_init_sec .section rom
	.global	_adc_init
_adc_init:
Lfunc_begin0:
.stabs "adc_init:f:16", 0x24,0,0,_adc_init
.stabn 0xc0, 0, 0, _adc_init
.stabn 0xe0, 0, 0, _adc_init
LM0:
.stabn	0x44, 0, 70, LM0-_adc_init
Lfunc_begin1:
LM1:
.stabn	0x44, 0, 71, LM1-_adc_init
	banksel 0
	bcf _SRADCKS_0, _SRADCKS_0
	bsf _SRADCKS_1, _SRADCKS_1
Ltmp0:
LM2:
.stabn	0x44, 0, 72, LM2-_adc_init
	bcf _SRADACKS_0, _SRADACKS_0
	bsf _SRADACKS_1, _SRADACKS_1
Ltmp1:
LM3:
.stabn	0x44, 0, 73, LM3-_adc_init
	bcf _OFTEN, _OFTEN
LM4:
.stabn	0x44, 0, 74, LM4-_adc_init
	bcf _CALIF, _CALIF
LM5:
.stabn	0x44, 0, 78, LM5-_adc_init
	bcf _ENOV, _ENOV
LM6:
.stabn	0x44, 0, 79, LM6-_adc_init
	bcf _OFFEX, _OFFEX
LM7:
.stabn	0x44, 0, 81, LM7-_adc_init
Ltmp2:
	bsf _SRADEN, _SRADEN
Ltmp3:
LM8:
.stabn	0x44, 0, 82, LM8-_adc_init
	return
Ltmp4:
Lfunc_end0:
Lfunc_end1:
LM9:
.stabf LM9-_adc_init

	_adc_get_result_sec .section rom
	.global	_adc_get_result
_adc_get_result:
Lfunc_begin2:
.stabs "adc_get_result:f2;", 0x24,0,0,_adc_get_result
.stabn 0xc0, 0, 0, _adc_get_result
.stabn 0xe0, 0, 0, _adc_get_result
LM10:
.stabn	0x44, 0, 92, LM10-_adc_get_result
Lfunc_begin3:
	banksel 0
	movfw _adc_get_result.args.+0
LM11:
.stabn	0x44, 0, 97, LM11-_adc_get_result
Ltmp5:
	movwf _adc_get_result.temp.+0
	movwf _SRADCON2+0
Ltmp6:
LM12:
.stabn	0x44, 0, 98, LM12-_adc_get_result
	bcf _SARVCMSEL, _SARVCMSEL
LM13:
.stabn	0x44, 0, 99, LM13-_adc_get_result
	call _delay_us
LM14:
.stabn	0x44, 0, 100, LM14-_adc_get_result
	movfw _adc_get_result.mode+0
	movwf _adc_get_result.temp.+1
	sublw 0
	beq LBB1_1
LBB1_14:
	movfw _adc_get_result.temp.+1
	xorlw 1
	sublw 0
	beq LBB1_2
LBB1_15:
	movfw _adc_get_result.temp.+1
	xorlw 2
	sublw 0
	beq LBB1_3
LBB1_16:
	movfw _adc_get_result.temp.+1
	xorlw 3
	sublw 0
	beq LBB1_4
	goto LBB1_5
LBB1_1:
LM15:
.stabn	0x44, 0, 104, LM15-_adc_get_result
Ltmp7:
	bcf _VREFS_0, _VREFS_0
LM16:
.stabn	0x44, 0, 105, LM16-_adc_get_result
	bcf _VREFS_1, _VREFS_1
Ltmp8:
LM17:
.stabn	0x44, 0, 106, LM17-_adc_get_result
	goto LBB1_6
LBB1_2:
LM18:
.stabn	0x44, 0, 110, LM18-_adc_get_result
Ltmp9:
	bcf _PT3EN_0, _PT3EN_0
LM19:
.stabn	0x44, 0, 111, LM19-_adc_get_result
	bcf _PT3PU_0, _PT3PU_0
LM20:
.stabn	0x44, 0, 112, LM20-_adc_get_result
	bsf _PT3CON_0, _PT3CON_0
LM21:
.stabn	0x44, 0, 114, LM21-_adc_get_result
	bsf _VREFS_0, _VREFS_0
LM22:
.stabn	0x44, 0, 115, LM22-_adc_get_result
	bcf _VREFS_1, _VREFS_1
Ltmp10:
LM23:
.stabn	0x44, 0, 116, LM23-_adc_get_result
	goto LBB1_6
LBB1_3:
LM24:
.stabn	0x44, 0, 120, LM24-_adc_get_result
Ltmp11:
	bcf _VREFS_0, _VREFS_0
LM25:
.stabn	0x44, 0, 121, LM25-_adc_get_result
	bsf _VREFS_1, _VREFS_1
Ltmp12:
LM26:
.stabn	0x44, 0, 122, LM26-_adc_get_result
	goto LBB1_6
LBB1_4:
LM27:
.stabn	0x44, 0, 126, LM27-_adc_get_result
Ltmp13:
	bcf _VREFS_0, _VREFS_0
LM28:
.stabn	0x44, 0, 127, LM28-_adc_get_result
	bcf _VREFS_1, _VREFS_1
Ltmp14:
LM29:
.stabn	0x44, 0, 128, LM29-_adc_get_result
	goto LBB1_6
LBB1_5:
LM30:
.stabn	0x44, 0, 130, LM30-_adc_get_result
	clrf _adc_get_result.mode+0
Ltmp15:
LBB1_6:
LM31:
.stabn	0x44, 0, 133, LM31-_adc_get_result
	clrf _adc_get_result.conver_times+0
LBB1_7:
Ltmp16:
	movfw _adc_get_result.conver_times+0
Ltmp17:
	sublw 7
	blt LBB1_13
LBB1_8:
LM32:
.stabn	0x44, 0, 135, LM32-_adc_get_result
Ltmp18:
	bsf _SRADS, _SRADS
Ltmp19:
LBB1_9:
LM33:
.stabn	0x44, 0, 136, LM33-_adc_get_result
	movlw 0 
	btfsc _SRADS, _SRADS 
	movlw 1
	andlw 1
	sublw 0
	beq LBB1_11
LBB1_10:
	goto LBB1_9
LBB1_11:
LM34:
.stabn	0x44, 0, 137, LM34-_adc_get_result
	movfw _SRADL+0
	movwf _adc_get_result.result+0
	movfw _SRADH+0
	movwf _adc_get_result.result+1
	movfw _SRADL+0
LM35:
.stabn	0x44, 0, 138, LM35-_adc_get_result
	addwf _adc_get_result.result_temp+0, F
LM36:
.stabn	0x44, 0, 137, LM36-_adc_get_result
	movfw _SRADH+0
LM37:
.stabn	0x44, 0, 138, LM37-_adc_get_result
	addwfc _adc_get_result.result_temp+1, W
	movwf _adc_get_result.result_temp+1
Ltmp20:
LM38:
.stabn	0x44, 0, 133, LM38-_adc_get_result
	incf _adc_get_result.conver_times+0, F
	goto LBB1_7
Ltmp21:
LBB1_13:
LM39:
.stabn	0x44, 0, 141, LM39-_adc_get_result
	clrf _adc_get_result.conver_times+0
LM40:
.stabn	0x44, 0, 142, LM40-_adc_get_result
	CSCC_SHIFT _adc_get_result.result_temp,0,_adc_get_result.result,0,2,1,3,0
LM41:
.stabn	0x44, 0, 143, LM41-_adc_get_result
	clrf _adc_get_result.result_temp+0
	clrf _adc_get_result.result_temp+1
LM42:
.stabn	0x44, 0, 145, LM42-_adc_get_result
	movfw _adc_get_result.result+0
	movwf _adc_get_result.frame.+0
	movfw _adc_get_result.result+1
	movwf _adc_get_result.frame.+1
	return
Ltmp22:
Lfunc_end2:
Lfunc_end3:
.stabn 0xc0,0,0, LM11-_adc_get_result
.stabs "conver_times:10",0x80,0,0,_adc_get_result.conver_times
.stabn 0xe0,0,0, LM42-_adc_get_result
.stabn 0xc0,0,0, LM11-_adc_get_result
.stabs "result:2",0x80,0,0,_adc_get_result.result
.stabn 0xe0,0,0, LM42-_adc_get_result
.stabn 0xc0,0,0, LM11-_adc_get_result
.stabs "mode:10",0x80,0,0,_adc_get_result.mode
.stabn 0xe0,0,0, LM42-_adc_get_result
.stabn 0xc0,0,0, LM11-_adc_get_result
.stabs "result_temp:2",0x80,0,0,_adc_get_result.result_temp
.stabn 0xe0,0,0, LM42-_adc_get_result
LM43:
.stabn 0xc0,0,0, LM10-_adc_get_result
.stabs "channel:10",0x80,0,0,_adc_get_result.args.+0
.stabn 0xe0,0,0, LM42-_adc_get_result
.stabf LM43-_adc_get_result

	_delay_us_sec .section rom
_delay_us:
Lfunc_begin4:
.stabs "delay_us:f:16", 0x24,0,0,_delay_us
.stabn 0xc0, 0, 0, _delay_us
.stabn 0xe0, 0, 0, _delay_us
LM44:
.stabn	0x44, 0, 56, LM44-_delay_us
Lfunc_begin5:
LM45:
.stabn	0x44, 0, 58, LM45-_delay_us
	banksel 0
	movlw 0xfa
	movwf _delay_us.temp.+0
LBB2_1:
Ltmp23:
	movfw _delay_us.temp.+0
Ltmp24:
	sublw 0
	beq LBB2_4
LBB2_2:
Ltmp25:
	decf _delay_us.temp.+0, F
	goto LBB2_1
Ltmp26:
LBB2_4:
LM46:
.stabn	0x44, 0, 59, LM46-_delay_us
	return
Ltmp27:
Lfunc_end4:
Lfunc_end5:
LM47:
.stabn 0xc0,0,0, LM45-_delay_us
.stabs "j:10",0x80,0,0,_delay_us.temp.+0
.stabn 0xe0,0,0, LM46-_delay_us
.stabf LM47-_delay_us


	_adc_get_result.mode_adc.c_Init .section rom,init
	.db _adc_get_result.mode+0,3
	.ends


	_adc_get_result.conver_times_adc.c .section bank0,uninit
	_adc_get_result.conver_times .ds 1
	.ends

	_adc_get_result.result_adc.c .section bank0,uninit
	_adc_get_result.result .ds 2
	.ends

	_adc_get_result.mode_adc.c .section bank0,uninit
	_adc_get_result.mode .ds 1
	.ends

	_adc_get_result.result_temp_adc.c .section bank0,uninit
	_adc_get_result.result_temp .ds 2
	.ends

	.@_adc_get_result_sec@_adc_get_result.args. .section bank1,uninit
	_adc_get_result.args. .ds 1
	.ends

	.@_adc_get_result_sec@_adc_get_result.frame. .section bank1,uninit
	_adc_get_result.frame. .ds 2
	.ends

	.@_adc_get_result_sec@_adc_get_result.temp. .section bank1,uninit
	_adc_get_result.temp. .ds 2
	.ends

	.@_delay_us_sec@_delay_us.temp. .section bank1,uninit
	_delay_us.temp. .ds 1
	.ends



