| 전자부품 데이터시트 검색엔진 |
|
COP8SE 데이터시트(PDF) 27 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
COP8SE 데이터시트(HTML) 27 Page - National Semiconductor (TI) |
|
27 / 47 page ![]() 8.0 Interrupts (Continued) Programming Example: External Interrupt PSW =00EF CNTRL =00EE RBIT 0,PORTGC RBIT 0,PORTGD ; G0 pin configured Hi-Z SBIT IEDG, CNTRL ; Ext interrupt polarity; falling edge SBIT EXEN, PSW ; Enable the external interrupt SBIT GIE, PSW ; Set the GIE bit WAIT: JP WAIT ; Wait for external interrupt . . . .=0FF ; The interrupt causes a VIS ; branch to address 0FF ; The VIS causes a branch to ;interrupt vector table . . . .=01FA ; Vector table (within 256 byte .ADDRW SERVICE ; of VIS inst.) containing the ext ; interrupt service routine . . INT_EXIT: RETI . . SERVICE: RBIT EXPND, PSW ; Interrupt Service Routine ; Reset ext interrupt pend. bit . . . JP INT_EXIT ; Return, set the GIE bit www.national.com 27 |
|
링크 URL |
| 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 |