MCP2155 Microchip Technology, MCP2155 Datasheet - Page 20
MCP2155
Manufacturer Part Number
MCP2155
Description
ItDA Standard Protocol Stack Controller Supporting DCE Applications
Manufacturer
Microchip Technology
Datasheet
1.MCP2155.pdf
(52 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
MCP2155-I/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
MCP2155-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
MCP2155-I/SO
Manufacturer:
Microchip
Quantity:
1 100
Part Number:
MCP2155-I/SO
Manufacturer:
MICROCHI
Quantity:
20 000
Company:
Part Number:
MCP2155-I/SS
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
MCP2155-I/SS
Manufacturer:
Microchip
Quantity:
118
Part Number:
MCP2155-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
MCP2155T-I/SO
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
MCP2155T-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP2155T-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
!
;#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