| 数据搜索系统,热门电子元器件搜索 |
|
ST72251 数据表(PDF) 7 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST72251 数据表(HTML) 7 Page - STMicroelectronics |
|
7 / 10 page ![]() 7/10 SOFTWARE LD PCOR,A CLR PCDDR ; PCO to PC3 configured as input with pull-up and interrupt. CLR PCDR RET .delay_45 LD A,#200 loop2 LD X,#$FF loop1 DEC X JRNE loop1 DEC A JRNE loop2 RET ;********************************************************** ; Program code ;********************************************************** .main CALL Init loop HALT ; MCU put in lowest power mode. JRA loop ; Infinite loop, wait an interrupt occurs. ; ***************************************************************** ; This set of instructions uses simple assembly mnemoniques. ; We can notice that the loop label is defined only locally (no dot ; in front of it) so it can not be seen by others modules linked ; with this file. ; ***************************************************************** ; ******************************************** ; * * ; * INTERRUPT SUB-ROUTINES LIBRARY SECTION * ; * * ; ******************************************** .dummy iret .sw_rt iret ; Empty subroutine. Go back to main (iret instruction) .ext0_rt iret .ext1_rt LD X,#48 ; Size of the table stored in X. ; 3 x 16 coded values. begin |
|
|
链接网址 |
| 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 |