| 数据搜索系统,热门电子元器件搜索 |
|
MCP2155 数据表(PDF) 21 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP2155 数据表(HTML) 21 Page - Microchip Technology |
|
21 / 52 page ![]() 0LFURFKLS 7HFKQRORJ\ ,QF 3UHOLPLQDU\ '6$SDJH ! (;$03/( 3,&)[[ &RGH WR 3URJUDP WKH 'HYLFH ,' FRQWLQXHG ctsLow clrf breg ; clear the offset call string1 ; get the byte count ; (ID length byte + # bytes in string) movwf creg ; use creg as the loop counter incf creg, f ; add 1 to the loop count since ; we're jumping into the middle movwf areg ; save the count in areg to send it goto sndwt ; start sending the count + ID string ; sndlp call string1 ; get the byte movwf areg ; save the byte sndwt btfsc cts ; check the cts input goto sndwt ; wait if cts=1 call txser ; send the byte using the Transmit Routine incf breg,f ; increment the table pointer decfsz creg, f ; more bytes to send? goto sndlp ; YES, send more bytes ; bcf clr ; NO, place the MCP2155 in reset bcf dtr ; Force the DTR pin Low for normal mode bsf rts ; Force the RTS pin High for normal mode call delay1mS ; delay for 1 ms. bsf clr ; allow the MCP2155 to come out of reset ; ctsLP2 btfss cts ; if cts=1 then MCP2155 is in Normal mode goto ctsLP2 ; NO, wait for MCP2155 to be ready goto NormalOperation ; The MCP2155 in now programmed with new ID, ; and is ready to establish an IR link |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |