; Generated by holtek-gcc v3.20, Fri Aug 28 11:13:52 2020
; 
; Configuration:
;       with long instruction
;       Multi-ROM, Multi-RAM
;       bits_per_rom_unit:16
;       with mp1
;       with tbhp, address(0x9)
;          Use tabrd-const
;       
; SFR address of long-instruction arch:
;    mp0 = -1,1,0
;    mp1 = 4,3,2
;    mp2 = 14,13,12
;    tbp = 9,7,8
;    acc = 5
;    pcl = 6
;    status = 10
;    bp = 11
;    intc = 16
;       
;       
; use 'tabrdc' instead of 'tabrd'
;       

#pragma translator "holtek-gcc 4.6.4" "3.20" "build 20130711"
; Rebuild 610

ir equ [2]
mp equ [3]
sbp equ [4]
acc equ [5]
bp equ [11]
tblp equ [7]
tbhp equ [9]
status equ [10]
c equ [10].0
ac equ [10].1
z equ [10].2
ov equ [10].3
cz equ [10].6
sc equ [10].7
intc equ [16]
mduwr0 equ [59h]
mduwr1 equ [5ah]
mduwr2 equ [5bh]
mduwr3 equ [5ch]
mduwr4 equ [5dh]
mduwr5 equ [5eh]
mduwrctrl equ [5fh]

extern ra:byte
extern rb:byte
extern rc:byte
extern rd:byte
extern re:byte
extern rf:byte
extern rg:byte
extern rh:byte
extern _Crom2Prom:near
extern _Crom2PromNext:near

RAMBANK 0 @BITDATASEC, @BITDATASEC1
@HCCINIT	.section 'data'
@HCCINIT0	.section 'data'
@BITDATASEC	 .section 'data'
@BITDATASEC1	 .section 'data'

#pragma debug scope 1 1
	extern __DELAY3:near
	extern __DELAYX3:near
	extern __DELAYX6:near
	extern __DELAYY5:near
	extern __DELAYY3:near
	extern _builtin_holtek_delay_2:byte
___pac equ [21]
___pa equ [20]
public _Drv_IIC_Start
#pragma debug scope 2 1
#line 22 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
_Drv_IIC_Start .section 'code'
_Drv_IIC_Start proc
#line 23 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr [21].5
#line 24 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr [21].4
#line 25 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	set [20].4
#line 26 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	set [20].5
#line 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30>263690
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30of the argument exceeds the maxinum 263690'
	ENDIF
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30<0
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30 of the argument exceeds the mininum 0'
	ENDIF
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30==0
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	JMP $
	ENDIF
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=1) AND (30<( 4 + __PBP__ * 2))
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=2) AND (30<( 4 + __PBP__ * 2))
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=3) AND (30<( 4 + __PBP__ * 2))
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=4) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=5) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=6) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=7) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=8) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 2 )
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30==9)  AND ( __PBP__ > 2 )
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 8 + __PBP__ * 2)) AND (30>( 3 + __PBP__ * 2))
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAY3 + ( 7 + __PBP__ * 2) -30
	ENDIF
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 0404h + __PBP__ * 2)) AND (30>( 7 + __PBP__ * 2))
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 4 + __PBP__ * 2))/4
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX3 + 3 -((30-( 4 + __PBP__ * 2)) MOD 4) 
	ENDIF
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 040bh + __PBP__ * 2)) AND (30> ( 0403h + __PBP__ * 2))
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0 
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX6 + ( 040ah + __PBP__ * 2) -30
	ENDIF
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)>256)
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY5 +5- (((30-( 9 + __PBP__ * 2))%0402h)%6) 
	ENDIF
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)<=256)
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,((30-( 9 + __PBP__ * 2))%0402h)/4+1
;# 27 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY3 +3-(((30-( 9 + __PBP__ * 2))%0402h)%4) 
	ENDIF
#line 28 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr [20].4
#line 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30>263690
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30of the argument exceeds the maxinum 263690'
	ENDIF
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30<0
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30 of the argument exceeds the mininum 0'
	ENDIF
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30==0
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	JMP $
	ENDIF
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=1) AND (30<( 4 + __PBP__ * 2))
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=2) AND (30<( 4 + __PBP__ * 2))
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=3) AND (30<( 4 + __PBP__ * 2))
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=4) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=5) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=6) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=7) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=8) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 2 )
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30==9)  AND ( __PBP__ > 2 )
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 8 + __PBP__ * 2)) AND (30>( 3 + __PBP__ * 2))
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAY3 + ( 7 + __PBP__ * 2) -30
	ENDIF
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 0404h + __PBP__ * 2)) AND (30>( 7 + __PBP__ * 2))
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 4 + __PBP__ * 2))/4
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX3 + 3 -((30-( 4 + __PBP__ * 2)) MOD 4) 
	ENDIF
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 040bh + __PBP__ * 2)) AND (30> ( 0403h + __PBP__ * 2))
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0 
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX6 + ( 040ah + __PBP__ * 2) -30
	ENDIF
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)>256)
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY5 +5- (((30-( 9 + __PBP__ * 2))%0402h)%6) 
	ENDIF
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)<=256)
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,((30-( 9 + __PBP__ * 2))%0402h)/4+1
;# 29 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY3 +3-(((30-( 9 + __PBP__ * 2))%0402h)%4) 
	ENDIF
#line 30 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr [20].5
	ret
_Drv_IIC_Start endp
#line 30 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
#pragma debug scope 1 1
public _Drv_IIC_Stop
#pragma debug scope 3 1
#line 39 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
_Drv_IIC_Stop .section 'code'
_Drv_IIC_Stop proc
#line 40 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr [20].4
#line 41 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr [21].4
#line 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30>263690
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30of the argument exceeds the maxinum 263690'
	ENDIF
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30<0
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30 of the argument exceeds the mininum 0'
	ENDIF
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30==0
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	JMP $
	ENDIF
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=1) AND (30<( 4 + __PBP__ * 2))
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=2) AND (30<( 4 + __PBP__ * 2))
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=3) AND (30<( 4 + __PBP__ * 2))
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=4) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=5) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=6) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=7) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=8) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 2 )
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30==9)  AND ( __PBP__ > 2 )
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 8 + __PBP__ * 2)) AND (30>( 3 + __PBP__ * 2))
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAY3 + ( 7 + __PBP__ * 2) -30
	ENDIF
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 0404h + __PBP__ * 2)) AND (30>( 7 + __PBP__ * 2))
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 4 + __PBP__ * 2))/4
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX3 + 3 -((30-( 4 + __PBP__ * 2)) MOD 4) 
	ENDIF
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 040bh + __PBP__ * 2)) AND (30> ( 0403h + __PBP__ * 2))
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0 
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX6 + ( 040ah + __PBP__ * 2) -30
	ENDIF
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)>256)
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY5 +5- (((30-( 9 + __PBP__ * 2))%0402h)%6) 
	ENDIF
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)<=256)
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,((30-( 9 + __PBP__ * 2))%0402h)/4+1
;# 42 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY3 +3-(((30-( 9 + __PBP__ * 2))%0402h)%4) 
	ENDIF
#line 43 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	set [20].5
#line 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30>263690
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30of the argument exceeds the maxinum 263690'
	ENDIF
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30<0
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30 of the argument exceeds the mininum 0'
	ENDIF
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30==0
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	JMP $
	ENDIF
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=1) AND (30<( 4 + __PBP__ * 2))
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=2) AND (30<( 4 + __PBP__ * 2))
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=3) AND (30<( 4 + __PBP__ * 2))
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=4) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=5) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=6) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=7) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=8) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 2 )
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30==9)  AND ( __PBP__ > 2 )
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 8 + __PBP__ * 2)) AND (30>( 3 + __PBP__ * 2))
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAY3 + ( 7 + __PBP__ * 2) -30
	ENDIF
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 0404h + __PBP__ * 2)) AND (30>( 7 + __PBP__ * 2))
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 4 + __PBP__ * 2))/4
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX3 + 3 -((30-( 4 + __PBP__ * 2)) MOD 4) 
	ENDIF
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 040bh + __PBP__ * 2)) AND (30> ( 0403h + __PBP__ * 2))
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0 
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX6 + ( 040ah + __PBP__ * 2) -30
	ENDIF
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)>256)
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY5 +5- (((30-( 9 + __PBP__ * 2))%0402h)%6) 
	ENDIF
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)<=256)
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,((30-( 9 + __PBP__ * 2))%0402h)/4+1
;# 44 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY3 +3-(((30-( 9 + __PBP__ * 2))%0402h)%4) 
	ENDIF
#line 45 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	set [20].4
#line 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30>263690
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30of the argument exceeds the maxinum 263690'
	ENDIF
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30<0
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30 of the argument exceeds the mininum 0'
	ENDIF
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30==0
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	JMP $
	ENDIF
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=1) AND (30<( 4 + __PBP__ * 2))
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=2) AND (30<( 4 + __PBP__ * 2))
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=3) AND (30<( 4 + __PBP__ * 2))
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=4) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=5) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=6) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=7) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=8) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 2 )
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30==9)  AND ( __PBP__ > 2 )
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 8 + __PBP__ * 2)) AND (30>( 3 + __PBP__ * 2))
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAY3 + ( 7 + __PBP__ * 2) -30
	ENDIF
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 0404h + __PBP__ * 2)) AND (30>( 7 + __PBP__ * 2))
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 4 + __PBP__ * 2))/4
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX3 + 3 -((30-( 4 + __PBP__ * 2)) MOD 4) 
	ENDIF
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 040bh + __PBP__ * 2)) AND (30> ( 0403h + __PBP__ * 2))
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0 
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX6 + ( 040ah + __PBP__ * 2) -30
	ENDIF
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)>256)
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY5 +5- (((30-( 9 + __PBP__ * 2))%0402h)%6) 
	ENDIF
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)<=256)
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,((30-( 9 + __PBP__ * 2))%0402h)/4+1
;# 46 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY3 +3-(((30-( 9 + __PBP__ * 2))%0402h)%4) 
	ENDIF
#line 47 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	set [21].4
	ret
_Drv_IIC_Stop endp
#line 47 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
#pragma debug scope 1 1
public _Drv_IIC_Ack
#pragma debug scope 4 1
#line 56 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
_Drv_IIC_Ack .section 'code'
_Drv_IIC_Ack proc
#line 57 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr [21].4
#line 58 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr [20].4
#line 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30>263690
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30of the argument exceeds the maxinum 263690'
	ENDIF
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30<0
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30 of the argument exceeds the mininum 0'
	ENDIF
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30==0
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	JMP $
	ENDIF
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=1) AND (30<( 4 + __PBP__ * 2))
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=2) AND (30<( 4 + __PBP__ * 2))
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=3) AND (30<( 4 + __PBP__ * 2))
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=4) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=5) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=6) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=7) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=8) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 2 )
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30==9)  AND ( __PBP__ > 2 )
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 8 + __PBP__ * 2)) AND (30>( 3 + __PBP__ * 2))
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAY3 + ( 7 + __PBP__ * 2) -30
	ENDIF
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 0404h + __PBP__ * 2)) AND (30>( 7 + __PBP__ * 2))
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 4 + __PBP__ * 2))/4
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX3 + 3 -((30-( 4 + __PBP__ * 2)) MOD 4) 
	ENDIF
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 040bh + __PBP__ * 2)) AND (30> ( 0403h + __PBP__ * 2))
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0 
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX6 + ( 040ah + __PBP__ * 2) -30
	ENDIF
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)>256)
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY5 +5- (((30-( 9 + __PBP__ * 2))%0402h)%6) 
	ENDIF
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)<=256)
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,((30-( 9 + __PBP__ * 2))%0402h)/4+1
;# 59 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY3 +3-(((30-( 9 + __PBP__ * 2))%0402h)%4) 
	ENDIF
#line 60 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	set [20].5
#line 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30>263690
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30of the argument exceeds the maxinum 263690'
	ENDIF
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30<0
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30 of the argument exceeds the mininum 0'
	ENDIF
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30==0
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	JMP $
	ENDIF
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=1) AND (30<( 4 + __PBP__ * 2))
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=2) AND (30<( 4 + __PBP__ * 2))
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=3) AND (30<( 4 + __PBP__ * 2))
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=4) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=5) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=6) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=7) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=8) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 2 )
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30==9)  AND ( __PBP__ > 2 )
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 8 + __PBP__ * 2)) AND (30>( 3 + __PBP__ * 2))
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAY3 + ( 7 + __PBP__ * 2) -30
	ENDIF
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 0404h + __PBP__ * 2)) AND (30>( 7 + __PBP__ * 2))
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 4 + __PBP__ * 2))/4
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX3 + 3 -((30-( 4 + __PBP__ * 2)) MOD 4) 
	ENDIF
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 040bh + __PBP__ * 2)) AND (30> ( 0403h + __PBP__ * 2))
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0 
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX6 + ( 040ah + __PBP__ * 2) -30
	ENDIF
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)>256)
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY5 +5- (((30-( 9 + __PBP__ * 2))%0402h)%6) 
	ENDIF
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)<=256)
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,((30-( 9 + __PBP__ * 2))%0402h)/4+1
;# 61 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY3 +3-(((30-( 9 + __PBP__ * 2))%0402h)%4) 
	ENDIF
#line 62 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr [20].5
#line 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30>263690
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30of the argument exceeds the maxinum 263690'
	ENDIF
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30<0
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30 of the argument exceeds the mininum 0'
	ENDIF
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30==0
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	JMP $
	ENDIF
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=1) AND (30<( 4 + __PBP__ * 2))
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=2) AND (30<( 4 + __PBP__ * 2))
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=3) AND (30<( 4 + __PBP__ * 2))
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=4) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=5) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=6) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=7) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=8) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 2 )
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30==9)  AND ( __PBP__ > 2 )
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 8 + __PBP__ * 2)) AND (30>( 3 + __PBP__ * 2))
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAY3 + ( 7 + __PBP__ * 2) -30
	ENDIF
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 0404h + __PBP__ * 2)) AND (30>( 7 + __PBP__ * 2))
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 4 + __PBP__ * 2))/4
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX3 + 3 -((30-( 4 + __PBP__ * 2)) MOD 4) 
	ENDIF
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 040bh + __PBP__ * 2)) AND (30> ( 0403h + __PBP__ * 2))
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0 
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX6 + ( 040ah + __PBP__ * 2) -30
	ENDIF
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)>256)
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY5 +5- (((30-( 9 + __PBP__ * 2))%0402h)%6) 
	ENDIF
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)<=256)
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,((30-( 9 + __PBP__ * 2))%0402h)/4+1
;# 63 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY3 +3-(((30-( 9 + __PBP__ * 2))%0402h)%4) 
	ENDIF
#line 64 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	set [20].4
#line 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30>263690
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30of the argument exceeds the maxinum 263690'
	ENDIF
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30<0
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30 of the argument exceeds the mininum 0'
	ENDIF
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30==0
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	JMP $
	ENDIF
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=1) AND (30<( 4 + __PBP__ * 2))
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=2) AND (30<( 4 + __PBP__ * 2))
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=3) AND (30<( 4 + __PBP__ * 2))
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=4) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=5) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=6) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=7) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=8) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 2 )
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30==9)  AND ( __PBP__ > 2 )
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 8 + __PBP__ * 2)) AND (30>( 3 + __PBP__ * 2))
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAY3 + ( 7 + __PBP__ * 2) -30
	ENDIF
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 0404h + __PBP__ * 2)) AND (30>( 7 + __PBP__ * 2))
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 4 + __PBP__ * 2))/4
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX3 + 3 -((30-( 4 + __PBP__ * 2)) MOD 4) 
	ENDIF
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 040bh + __PBP__ * 2)) AND (30> ( 0403h + __PBP__ * 2))
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0 
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX6 + ( 040ah + __PBP__ * 2) -30
	ENDIF
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)>256)
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY5 +5- (((30-( 9 + __PBP__ * 2))%0402h)%6) 
	ENDIF
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)<=256)
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,((30-( 9 + __PBP__ * 2))%0402h)/4+1
;# 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY3 +3-(((30-( 9 + __PBP__ * 2))%0402h)%4) 
	ENDIF
	ret
_Drv_IIC_Ack endp
#line 65 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
#pragma debug scope 1 1
public _Drv_IIC_NoAck
#pragma debug scope 5 1
#line 72 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
_Drv_IIC_NoAck .section 'code'
_Drv_IIC_NoAck proc
#line 73 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr [21].4
#line 74 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	set [20].4
#line 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30>263690
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30of the argument exceeds the maxinum 263690'
	ENDIF
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30<0
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30 of the argument exceeds the mininum 0'
	ENDIF
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30==0
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	JMP $
	ENDIF
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=1) AND (30<( 4 + __PBP__ * 2))
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=2) AND (30<( 4 + __PBP__ * 2))
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=3) AND (30<( 4 + __PBP__ * 2))
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=4) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=5) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=6) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=7) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=8) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 2 )
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30==9)  AND ( __PBP__ > 2 )
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 8 + __PBP__ * 2)) AND (30>( 3 + __PBP__ * 2))
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAY3 + ( 7 + __PBP__ * 2) -30
	ENDIF
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 0404h + __PBP__ * 2)) AND (30>( 7 + __PBP__ * 2))
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 4 + __PBP__ * 2))/4
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX3 + 3 -((30-( 4 + __PBP__ * 2)) MOD 4) 
	ENDIF
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 040bh + __PBP__ * 2)) AND (30> ( 0403h + __PBP__ * 2))
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0 
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX6 + ( 040ah + __PBP__ * 2) -30
	ENDIF
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)>256)
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY5 +5- (((30-( 9 + __PBP__ * 2))%0402h)%6) 
	ENDIF
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)<=256)
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,((30-( 9 + __PBP__ * 2))%0402h)/4+1
;# 75 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY3 +3-(((30-( 9 + __PBP__ * 2))%0402h)%4) 
	ENDIF
#line 76 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	set [20].5
#line 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30>263690
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30of the argument exceeds the maxinum 263690'
	ENDIF
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30<0
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30 of the argument exceeds the mininum 0'
	ENDIF
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30==0
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	JMP $
	ENDIF
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=1) AND (30<( 4 + __PBP__ * 2))
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=2) AND (30<( 4 + __PBP__ * 2))
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=3) AND (30<( 4 + __PBP__ * 2))
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=4) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=5) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=6) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=7) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=8) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 2 )
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30==9)  AND ( __PBP__ > 2 )
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 8 + __PBP__ * 2)) AND (30>( 3 + __PBP__ * 2))
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAY3 + ( 7 + __PBP__ * 2) -30
	ENDIF
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 0404h + __PBP__ * 2)) AND (30>( 7 + __PBP__ * 2))
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 4 + __PBP__ * 2))/4
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX3 + 3 -((30-( 4 + __PBP__ * 2)) MOD 4) 
	ENDIF
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 040bh + __PBP__ * 2)) AND (30> ( 0403h + __PBP__ * 2))
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0 
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX6 + ( 040ah + __PBP__ * 2) -30
	ENDIF
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)>256)
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY5 +5- (((30-( 9 + __PBP__ * 2))%0402h)%6) 
	ENDIF
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)<=256)
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,((30-( 9 + __PBP__ * 2))%0402h)/4+1
;# 77 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY3 +3-(((30-( 9 + __PBP__ * 2))%0402h)%4) 
	ENDIF
#line 78 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr [20].5
#line 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30>263690
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30of the argument exceeds the maxinum 263690'
	ENDIF
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30<0
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30 of the argument exceeds the mininum 0'
	ENDIF
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30==0
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	JMP $
	ENDIF
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=1) AND (30<( 4 + __PBP__ * 2))
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=2) AND (30<( 4 + __PBP__ * 2))
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=3) AND (30<( 4 + __PBP__ * 2))
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=4) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=5) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=6) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=7) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=8) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 2 )
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30==9)  AND ( __PBP__ > 2 )
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 8 + __PBP__ * 2)) AND (30>( 3 + __PBP__ * 2))
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAY3 + ( 7 + __PBP__ * 2) -30
	ENDIF
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 0404h + __PBP__ * 2)) AND (30>( 7 + __PBP__ * 2))
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 4 + __PBP__ * 2))/4
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX3 + 3 -((30-( 4 + __PBP__ * 2)) MOD 4) 
	ENDIF
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 040bh + __PBP__ * 2)) AND (30> ( 0403h + __PBP__ * 2))
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0 
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX6 + ( 040ah + __PBP__ * 2) -30
	ENDIF
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)>256)
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY5 +5- (((30-( 9 + __PBP__ * 2))%0402h)%6) 
	ENDIF
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)<=256)
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,((30-( 9 + __PBP__ * 2))%0402h)/4+1
;# 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY3 +3-(((30-( 9 + __PBP__ * 2))%0402h)%4) 
	ENDIF
	ret
_Drv_IIC_NoAck endp
#line 79 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
#pragma debug scope 1 1
public _Drv_IIC_WaitACK
#pragma debug scope 6 1
#line 88 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
_Drv_IIC_WaitACK .section 'code'
_Drv_IIC_WaitACK proc
#line 89 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	set [21].4
#line 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30>263690
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30of the argument exceeds the maxinum 263690'
	ENDIF
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30<0
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30 of the argument exceeds the mininum 0'
	ENDIF
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30==0
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	JMP $
	ENDIF
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=1) AND (30<( 4 + __PBP__ * 2))
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=2) AND (30<( 4 + __PBP__ * 2))
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=3) AND (30<( 4 + __PBP__ * 2))
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=4) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=5) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=6) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=7) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=8) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 2 )
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30==9)  AND ( __PBP__ > 2 )
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 8 + __PBP__ * 2)) AND (30>( 3 + __PBP__ * 2))
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAY3 + ( 7 + __PBP__ * 2) -30
	ENDIF
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 0404h + __PBP__ * 2)) AND (30>( 7 + __PBP__ * 2))
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 4 + __PBP__ * 2))/4
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX3 + 3 -((30-( 4 + __PBP__ * 2)) MOD 4) 
	ENDIF
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 040bh + __PBP__ * 2)) AND (30> ( 0403h + __PBP__ * 2))
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0 
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX6 + ( 040ah + __PBP__ * 2) -30
	ENDIF
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)>256)
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY5 +5- (((30-( 9 + __PBP__ * 2))%0402h)%6) 
	ENDIF
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)<=256)
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,((30-( 9 + __PBP__ * 2))%0402h)/4+1
;# 90 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY3 +3-(((30-( 9 + __PBP__ * 2))%0402h)%4) 
	ENDIF
#line 91 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	set [20].5
#line 93 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	mov a,251
	mov ra,a
_L6:
#line 93 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	snz [20].4
	jmp _L7
	sdz ra
	jmp _L6
_L7:
#line 97 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr [20].5
	ret
_Drv_IIC_WaitACK endp
#line 97 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
#pragma debug scope 1 1
public _Drv_IIC_WByte
#pragma debug scope 7 1
#line 107 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
_Drv_IIC_WByte .section 'code'
_Drv_IIC_WByte proc
    local _Drv_IIC_WByte_2 db 1 dup(?)	; 0,1
	mov _Drv_IIC_WByte_2[0],a
#pragma debug variable 8 7 _Drv_IIC_WByte_2+0 "WData"
#line 108 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr [21].4
	mov a,8
	mov ra,a
_L17:
#line 112 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr [20].5
#line 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30>263690
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30of the argument exceeds the maxinum 263690'
	ENDIF
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30<0
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30 of the argument exceeds the mininum 0'
	ENDIF
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30==0
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	JMP $
	ENDIF
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=1) AND (30<( 4 + __PBP__ * 2))
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=2) AND (30<( 4 + __PBP__ * 2))
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=3) AND (30<( 4 + __PBP__ * 2))
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=4) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=5) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=6) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=7) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=8) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 2 )
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30==9)  AND ( __PBP__ > 2 )
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 8 + __PBP__ * 2)) AND (30>( 3 + __PBP__ * 2))
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAY3 + ( 7 + __PBP__ * 2) -30
	ENDIF
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 0404h + __PBP__ * 2)) AND (30>( 7 + __PBP__ * 2))
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 4 + __PBP__ * 2))/4
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX3 + 3 -((30-( 4 + __PBP__ * 2)) MOD 4) 
	ENDIF
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 040bh + __PBP__ * 2)) AND (30> ( 0403h + __PBP__ * 2))
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0 
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX6 + ( 040ah + __PBP__ * 2) -30
	ENDIF
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)>256)
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY5 +5- (((30-( 9 + __PBP__ * 2))%0402h)%6) 
	ENDIF
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)<=256)
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,((30-( 9 + __PBP__ * 2))%0402h)/4+1
;# 113 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY3 +3-(((30-( 9 + __PBP__ * 2))%0402h)%4) 
	ENDIF
#line 114 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	snz _Drv_IIC_WByte_2[0].7
	jmp _L14
#line 116 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	set [20].4
	jmp _L15
_L14:
#line 120 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr [20].4
_L15:
#line 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30>263690
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30of the argument exceeds the maxinum 263690'
	ENDIF
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30<0
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30 of the argument exceeds the mininum 0'
	ENDIF
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30==0
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	JMP $
	ENDIF
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=1) AND (30<( 4 + __PBP__ * 2))
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=2) AND (30<( 4 + __PBP__ * 2))
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=3) AND (30<( 4 + __PBP__ * 2))
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=4) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=5) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=6) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=7) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=8) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 2 )
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30==9)  AND ( __PBP__ > 2 )
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 8 + __PBP__ * 2)) AND (30>( 3 + __PBP__ * 2))
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAY3 + ( 7 + __PBP__ * 2) -30
	ENDIF
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 0404h + __PBP__ * 2)) AND (30>( 7 + __PBP__ * 2))
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 4 + __PBP__ * 2))/4
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX3 + 3 -((30-( 4 + __PBP__ * 2)) MOD 4) 
	ENDIF
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 040bh + __PBP__ * 2)) AND (30> ( 0403h + __PBP__ * 2))
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0 
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX6 + ( 040ah + __PBP__ * 2) -30
	ENDIF
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)>256)
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY5 +5- (((30-( 9 + __PBP__ * 2))%0402h)%6) 
	ENDIF
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)<=256)
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,((30-( 9 + __PBP__ * 2))%0402h)/4+1
;# 122 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY3 +3-(((30-( 9 + __PBP__ * 2))%0402h)%4) 
	ENDIF
#line 123 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	set [20].5
#line 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30>263690
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30of the argument exceeds the maxinum 263690'
	ENDIF
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30<0
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30 of the argument exceeds the mininum 0'
	ENDIF
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30==0
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	JMP $
	ENDIF
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=1) AND (30<( 4 + __PBP__ * 2))
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=2) AND (30<( 4 + __PBP__ * 2))
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=3) AND (30<( 4 + __PBP__ * 2))
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=4) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=5) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=6) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=7) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=8) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 2 )
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30==9)  AND ( __PBP__ > 2 )
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 8 + __PBP__ * 2)) AND (30>( 3 + __PBP__ * 2))
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAY3 + ( 7 + __PBP__ * 2) -30
	ENDIF
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 0404h + __PBP__ * 2)) AND (30>( 7 + __PBP__ * 2))
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 4 + __PBP__ * 2))/4
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX3 + 3 -((30-( 4 + __PBP__ * 2)) MOD 4) 
	ENDIF
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 040bh + __PBP__ * 2)) AND (30> ( 0403h + __PBP__ * 2))
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0 
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX6 + ( 040ah + __PBP__ * 2) -30
	ENDIF
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)>256)
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY5 +5- (((30-( 9 + __PBP__ * 2))%0402h)%6) 
	ENDIF
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)<=256)
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,((30-( 9 + __PBP__ * 2))%0402h)/4+1
;# 124 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY3 +3-(((30-( 9 + __PBP__ * 2))%0402h)%4) 
	ENDIF
#line 125 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	mov a,_Drv_IIC_WByte_2[0]
	addm a,_Drv_IIC_WByte_2[0]
	sdz ra
	jmp _L17
#line 127 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr [20].5
#line 128 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	set [21].4
	ret
_Drv_IIC_WByte endp
#line 128 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
#pragma debug scope 1 1
public _Drv_IIC_RByte
#pragma debug scope 8 1
#line 137 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
_Drv_IIC_RByte .section 'code'
_Drv_IIC_RByte proc
    local _Drv_IIC_RByte_2 db 3 dup(?)	; 0,3
	mov _Drv_IIC_RByte_2[2],a
#pragma debug variable 8 8 _Drv_IIC_RByte_2+2 "Ack"
#pragma debug variable 8 8 _Drv_IIC_RByte_2+1 "i"
#pragma debug variable 8 8 _Drv_IIC_RByte_2+0 "RData"
#line 138 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	set [21].4
#line 139 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr [20].5
#line 140 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr _Drv_IIC_RByte_2[0]
#line 142 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	set [20].5
#line 143 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr _Drv_IIC_RByte_2[1]
_L19:
#line 143 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	mov a,7
	sub a,_Drv_IIC_RByte_2[1]
	snz c
	jmp _L23
#line 145 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	set [20].5
#line 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30>263690
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30of the argument exceeds the maxinum 263690'
	ENDIF
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30<0
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30 of the argument exceeds the mininum 0'
	ENDIF
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30==0
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	JMP $
	ENDIF
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=1) AND (30<( 4 + __PBP__ * 2))
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=2) AND (30<( 4 + __PBP__ * 2))
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=3) AND (30<( 4 + __PBP__ * 2))
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=4) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=5) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=6) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=7) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=8) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 2 )
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30==9)  AND ( __PBP__ > 2 )
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 8 + __PBP__ * 2)) AND (30>( 3 + __PBP__ * 2))
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAY3 + ( 7 + __PBP__ * 2) -30
	ENDIF
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 0404h + __PBP__ * 2)) AND (30>( 7 + __PBP__ * 2))
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 4 + __PBP__ * 2))/4
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX3 + 3 -((30-( 4 + __PBP__ * 2)) MOD 4) 
	ENDIF
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 040bh + __PBP__ * 2)) AND (30> ( 0403h + __PBP__ * 2))
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0 
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX6 + ( 040ah + __PBP__ * 2) -30
	ENDIF
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)>256)
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY5 +5- (((30-( 9 + __PBP__ * 2))%0402h)%6) 
	ENDIF
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)<=256)
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,((30-( 9 + __PBP__ * 2))%0402h)/4+1
;# 146 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY3 +3-(((30-( 9 + __PBP__ * 2))%0402h)%4) 
	ENDIF
#line 147 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr ra
	sz [20].4
	inc ra
	mov a,_Drv_IIC_RByte_2[0]
	mov rb,a
	clr rc
	clr c
	rlc rb
	rlc rc
	mov a,ra
	or a,rb
	mov _Drv_IIC_RByte_2[0],a
#line 148 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	clr [20].5
#line 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30>263690
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30of the argument exceeds the maxinum 263690'
	ENDIF
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30<0
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	ERRMESSAGE 'the value 30 of the argument exceeds the mininum 0'
	ENDIF
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF 30==0
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	JMP $
	ENDIF
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=1) AND (30<( 4 + __PBP__ * 2))
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=2) AND (30<( 4 + __PBP__ * 2))
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=3) AND (30<( 4 + __PBP__ * 2))
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=4) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=5) AND (30<( 4 + __PBP__ * 2)) AND ( __PBP__ > 0 )
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=6) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=7) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 1 )
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30>=8) AND (30<( 4 + __PBP__ * 2))  AND ( __PBP__ > 2 )
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30==9)  AND ( __PBP__ > 2 )
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	NOP
	ENDIF
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 8 + __PBP__ * 2)) AND (30>( 3 + __PBP__ * 2))
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAY3 + ( 7 + __PBP__ * 2) -30
	ENDIF
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 0404h + __PBP__ * 2)) AND (30>( 7 + __PBP__ * 2))
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 4 + __PBP__ * 2))/4
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX3 + 3 -((30-( 4 + __PBP__ * 2)) MOD 4) 
	ENDIF
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30< ( 040bh + __PBP__ * 2)) AND (30> ( 0403h + __PBP__ * 2))
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0 
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYX6 + ( 040ah + __PBP__ * 2) -30
	ENDIF
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)>256)
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,0
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY5 +5- (((30-( 9 + __PBP__ * 2))%0402h)%6) 
	ENDIF
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	IF (30 >= ( 040bh + __PBP__ * 2)) AND ((((30-( 9 + __PBP__ * 2))%0402h)/4+1)<=256)
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,(30-( 9 + __PBP__ * 2))/0402h
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV _builtin_holtek_delay_2,A
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	MOV A,((30-( 9 + __PBP__ * 2))%0402h)/4+1
;# 149 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c" 1
	fcall __DELAYY3 +3-(((30-( 9 + __PBP__ * 2))%0402h)%4) 
	ENDIF
#line 143 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	inc _Drv_IIC_RByte_2[1]
	jmp _L19
_L23:
#line 151 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	snz _Drv_IIC_RByte_2[2]
	jmp _L21
#line 152 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	fcall _Drv_IIC_Ack
	jmp _L22
_L21:
#line 155 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	fcall _Drv_IIC_NoAck
_L22:
#line 157 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	mov a,_Drv_IIC_RByte_2[0]
	mov ra,a
#line 158 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	mov a,ra
	ret
_Drv_IIC_RByte endp
#line 158 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
#pragma debug scope 1 1
public _Drv_IICWrite_Data
#pragma debug scope 9 1
#line 166 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
_Drv_IICWrite_Data .section 'code'
_Drv_IICWrite_Data proc
public _Drv_IICWrite_Data_2
    local _Drv_IICWrite_Data_2 db 3 dup(?)	; 1,2
	mov _Drv_IICWrite_Data_2[1],a
#pragma debug variable 8 9 _Drv_IICWrite_Data_2+1 "Slave_Address"
#pragma debug variable 8 9 _Drv_IICWrite_Data_2+0 "WriteLength"
#pragma debug variable 8 9 _Drv_IICWrite_Data_2+2 "i"
#line 167 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	fcall _Drv_IIC_Start
#line 168 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	mov a,_Drv_IICWrite_Data_2[1]
	fcall _Drv_IIC_WByte
#line 169 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	fcall _Drv_IIC_WaitACK
#line 170 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	mov a,_gu8v_IIC_WData[0]
	mov ra,a
	mov a,ra
	fcall _Drv_IIC_WByte
#line 171 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	fcall _Drv_IIC_WaitACK
#line 173 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	mov a,1
	mov _Drv_IICWrite_Data_2[2],a
_L25:
#line 173 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	mov a,_Drv_IICWrite_Data_2[2]
	sub a,_Drv_IICWrite_Data_2[0]
	sz c
	jmp _L27
#line 175 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	mov a,low offset _gu8v_IIC_WData
	add a,_Drv_IICWrite_Data_2[2]
	mov mp,a
	mov a,high offset _gu8v_IIC_WData
	clr sbp
	adcm a,sbp
	fcall _Crom2Prom
	mov ra,a
	mov a,ra
	fcall _Drv_IIC_WByte
#line 176 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	fcall _Drv_IIC_WaitACK
#line 173 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	inc _Drv_IICWrite_Data_2[2]
	jmp _L25
_L27:
#line 178 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	fcall _Drv_IIC_Stop
	ret
_Drv_IICWrite_Data endp
#line 178 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
#pragma debug scope 1 1
public _Drv_IICRead_Data
#pragma debug scope 10 1
#line 187 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
_Drv_IICRead_Data .section 'code'
_Drv_IICRead_Data proc
public _Drv_IICRead_Data_2
    local _Drv_IICRead_Data_2 db 7 dup(?)	; 1,6
	mov _Drv_IICRead_Data_2[1],a
#pragma debug variable 8 10 _Drv_IICRead_Data_2+1 "Slave_Address"
#pragma debug variable 8 10 _Drv_IICRead_Data_2+0 "ReadLength"
#pragma debug variable 8 10 _Drv_IICRead_Data_2+2 "i"
#line 188 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	fcall _Drv_IIC_Start
#line 189 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	inca _Drv_IICRead_Data_2[1]
	mov ra,a
	mov a,ra
	fcall _Drv_IIC_WByte
#line 190 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	fcall _Drv_IIC_WaitACK
#line 191 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	mov a,1
	fcall _Drv_IIC_RByte
	mov ra,a
	mov a,ra
	mov _gu8v_IIC_RData[0],a
#line 193 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	mov a,1
	mov _Drv_IICRead_Data_2[2],a
_L29:
#line 193 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	mov a,_Drv_IICRead_Data_2[2]
	mov _Drv_IICRead_Data_2[3],a
	clr _Drv_IICRead_Data_2[4]
	mov a,255
	add a,_Drv_IICRead_Data_2[0]
	mov _Drv_IICRead_Data_2[5],a
	mov a,255
	clr _Drv_IICRead_Data_2[6]
	adcm a,_Drv_IICRead_Data_2[6]
	mov a,_Drv_IICRead_Data_2[3]
	sub a,_Drv_IICRead_Data_2[5]
	mov a,_Drv_IICRead_Data_2[4]
	sbc a,_Drv_IICRead_Data_2[6]
	snz sc
	jmp _L31
#line 195 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	mov a,1
	fcall _Drv_IIC_RByte
	mov ra,a
	mov a,low offset _gu8v_IIC_RData
	add a,_Drv_IICRead_Data_2[3]
	mov mp,a
	mov a,high offset _gu8v_IIC_RData
	adc a,_Drv_IICRead_Data_2[4]
	mov sbp,a
	mov a,ra
	mov ir,a
#line 193 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	inc _Drv_IICRead_Data_2[2]
	jmp _L29
_L31:
#line 197 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	mov a,0
	fcall _Drv_IIC_RByte
	mov ra,a
	mov a,low offset _gu8v_IIC_RData
	add a,_Drv_IICRead_Data_2[5]
	mov mp,a
	mov a,high offset _gu8v_IIC_RData
	adc a,_Drv_IICRead_Data_2[6]
	mov sbp,a
	mov a,ra
	mov ir,a
#line 198 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
	fcall _Drv_IIC_Stop
	ret
_Drv_IICRead_Data endp
#line 198 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
#pragma debug scope 1 1
#line 13 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
public _gu8v_IIC_WData
@HCCINIT0_gu8v_IIC_WData .section 'data'
_gu8v_IIC_WData	db 3 dup(0)
#pragma debug array 42 8 3 1
#pragma debug variable 42 1 _gu8v_IIC_WData "gu8v_IIC_WData"

@HCCINIT .section 'data'
#line 13 "c:\users\iris\desktop\2. demo code\bh67f5362_simiic\BH67F5362_Drv\Master_IIC.c"
public _gu8v_IIC_RData
@HCCINIT0_gu8v_IIC_RData .section 'data'
_gu8v_IIC_RData	db 3 dup(0)
#pragma debug variable 42 1 _gu8v_IIC_RData "gu8v_IIC_RData"

@HCCINIT .section 'data'
#pragma debug struct_begin 43 "__pa_bits"
#pragma debug field 21 8 0 1 "__pa0" ;0,1
#pragma debug field 21 8 0 1 "__pa1" ;1,1
#pragma debug field 21 8 0 1 "__pa2" ;2,1
#pragma debug field 21 8 0 1 "__pa3" ;3,1
#pragma debug field 21 8 0 1 "__pa4" ;4,1
#pragma debug field 21 8 0 1 "__pa5" ;5,1
#pragma debug field 21 8 0 1 "__pa6" ;6,1
#pragma debug field 21 8 0 1 "__pa7" ;7,1
#pragma debug struct_end
#pragma debug union_begin 44 ""
#pragma debug field 2 43 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 44 1 ___pa "__pa" 1
#pragma debug struct_begin 45 "__pac_bits"
#pragma debug field 21 8 0 1 "__pac0" ;0,1
#pragma debug field 21 8 0 1 "__pac1" ;1,1
#pragma debug field 21 8 0 1 "__pac2" ;2,1
#pragma debug field 21 8 0 1 "__pac3" ;3,1
#pragma debug field 21 8 0 1 "__pac4" ;4,1
#pragma debug field 21 8 0 1 "__pac5" ;5,1
#pragma debug field 21 8 0 1 "__pac6" ;6,1
#pragma debug field 21 8 0 1 "__pac7" ;7,1
#pragma debug struct_end
#pragma debug union_begin 46 ""
#pragma debug field 2 45 "bits"
#pragma debug field 0 8 "byte"
#pragma debug union_end
#pragma debug variable 46 1 ___pac "__pac" 1

; 
; Generated by holtek-gcc v3.20, Fri Aug 28 11:13:52 2020
; Rebuild 610
; end of file
