MCP2155-I/SOGRVB Microchip Technology, MCP2155-I/SOGRVB Datasheet - Page 20

no-image

MCP2155-I/SOGRVB

Manufacturer Part Number
MCP2155-I/SOGRVB
Description
IrDA. protocol handler plus endec for DCE Apps, -40C to +85C, 18-SOIC 300mil, TUBE
Manufacturer
Microchip Technology
Datasheet
!
;#define
;#define
;#define
;#define
;
;*****************************************************************
; String Table
; This table stores a string, breg is the offset.
; is terminated by a null character.
;*****************************************************************
string1 clrf
;
UpdateID
;
ctsLP1
movf
addwf
DT
DT
call
bcf
bsf
bcf
call
bsf
clrf
call
btfss
goto
decfsz LoopCnt, F
goto
goto
dtr
cts
rts
clr
PCLATH
breg, W
PCL, F
D'15'
"My IR ID String"
deviceInit
clr
dtr
rts
delay1mS
clr
LoopCnt
delay1mS
cts
ctsLow
ctsLP1
StuckReset
PORTx, Pinx
PORTx, Pinx
PORTx, Pinx
PORTx, Pinx
; this routine is on page 0
; get the offset
; add the offset to PC
; the first byte is the byte count
; Initialize the PIC16Fxxx
; place the MCP2155 in reset
; Force the DTR pin High for program mode
; Force the RTS pin Low for program mode
; delay for 1 ms.
; allow the MCP2155 to come out of reset
; LoopCnt = 0
; delay for 1 ms.
; if cts=0 then we're ready to program
; MCP2155 is ready to receive data
;
; NO, wait for MCP2155 to be ready
; The MCP2150 did not exit reset, do your recovery
;
; Must specify which Port and Which Pin
; Must specify which Port and Which Pin
; Must specify which Port and Which Pin
; Must specify which Port and Which Pin
in this routine.
3UHOLPLQDU\
The string

Related parts for MCP2155-I/SOGRVB