| Motore di ricerca datesheet componenti elettronici |
|
SN8A1702AX Scheda tecnica(PDF) 102 Page - SONiX Technology Company |
|
|
|||||||||||||||||||||||||||||
SN8A1702AX Scheda tecnica(HTML) 102 Page - SONiX Technology Company |
|
102 / 112 page ![]() Preliminary SN8P1702A/SN8P1703A 8-bit micro-controller build-in 12-bit ADC SONiX TECHNOLOGY CO., LTD Page 102 Revision 0.5 JmpSub0: ; Subroutine 1 jmp JmpExit JmpSub1: ; Subroutine 2 jmp JmpExit JmpSub2: ; Subroutine 3 jmp JmpExit JmpExit: ret ;Return Main ;------------------------------------------------------------------------------- ; Isr (Interrupt Service Routine) ; Arguments : ; Returns : ; Reg Change: ;------------------------------------------------------------------------------- Isr: ;----------------------------------- ; Save ACC and system registers ;----------------------------------- b0xch A,AccBuf ;B0xch instruction do not change C,Z flag b0mov A,PFLAG b0mov PflagBuf,A ;----------------------------------- ; Check which interrupt happen ;----------------------------------- IntP00Chk: b0bts1 FP00IEN jmp IntTc0Chk ;Modify this line for another interrupt b0bts0 FP00IRQ jmp P00isr ;If necessary, insert another interrupt checking here IntTc0Chk: b0bts1 FTC0IEN jmp IsrExit ;Suppose TC0 is the last interrupt which you b0bts0 FTC0IRQ ;want to check jmp TC0isr ;----------------------------------- ; Exit interrupt service routine ;----------------------------------- IsrExit: ; Following two lines for SN8X1702 only b0mov A,PFLAG b0mov PflagBuf,A b0xch A,AccBuf ;B0xch instruction do not change C,Z flag reti ;Exit the interrupt routine |
|
Link URL |
| Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | Collegamento alla scheda tecnica | scambio Link | Ricerca produttore 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 |