| Motore di ricerca datesheet componenti elettronici |
|
SN8A1702AX Scheda tecnica(PDF) 103 Page - SONiX Technology Company |
|
|
|||||||||||||||||||||||||||||
SN8A1702AX Scheda tecnica(HTML) 103 Page - SONiX Technology Company |
|
103 / 112 page ![]() Preliminary SN8P1702A/SN8P1703A 8-bit micro-controller build-in 12-bit ADC SONiX TECHNOLOGY CO., LTD Page 103 Revision 0.5 ;------------------------------------------------------------------------------- ; INT0 interrupt service routine ;------------------------------------------------------------------------------- P00isr: b0bclr FP00IRQ ;Process P0.0 external interrupt here jmp IsrExit ;------------------------------------------------------------------------------- ; TC0 interrupt service routine ;------------------------------------------------------------------------------- TC0isr: b0bclr FTC0IRQ ;Process TC0 timer interrupt here jmp IsrExit ;------------------------------------------------------------------------------- ; SysInit ; Initialize I/O, Timer, Interrupt, etc. ;------------------------------------------------------------------------------- SysInit: ret ;------------------------------------------------------------------------------- ; ClrRAM ; Use index @YZ to clear RAM (00h~7Fh) ;------------------------------------------------------------------------------- ClrRAM: ; RAM Bank 0 clr Y ;Select bank 0 b0mov Z,#0x7f ;Set @YZ address from 7fh ClrRAM10: clr @YZ ;Clear @YZ content decms Z ;z = z – 1 , skip next if z=0 jmp ClrRAM10 clr @YZ ;Clear address 0x00 ; RAM Bank 1 mov A,#1 b0mov Y,A ;Select bank 1 b0mov Z,#0x7f ;Set @YZ address from 17fh ClrRAM20: clr @YZ ;Clear @YZ content decms Z ;z = z – 1 , skip next if z=0 jmp ClrRAM20 clr @YZ ;Clear address 0x100 ret ;------------------------------------------------------------------------------- ENDP |
|
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 |