| Electronic Components Datasheet Search |
|
ST72251 Datasheet(PDF) 7 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST72251 Datasheet(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 |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |