|
||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||
|
|
Listing 4ýThis is really just a little "clean up" routine. Most likely this is called from the real ISR or replaced by the intended ISR code. ; Generic Ethernet Interrupt Service Routine ; pd_int0:: push af push hl ld a, 0x20 ioe ld (PD_WR1),a ; abort DMA, nic#1 #ifdef BLCH_TWOINTF ioe ld (PD_WR2),a ; abort DMA, nic#2 #endif ld a, 0xFF ioe ld (PD_WR1+PD_INTSTATUS),a ; clear all interrupts, nic#1 #ifdef BLCH_TWOINTF ioe ld (PD_WR2+PD_INTSTATUS),a ; clear all interrupts, nic#2 #endif pop hl pop af ipres ret #endasm
|
|||||||||||||||||||||||||||||||||
|
Copyright © 2003 ChipCenter-QuestLink About ChipCenter-Questlink |
||||||||||||||||||||||||||||||||||