ChipCenter Questlink
SEARCH CHIPCENTER
Search Type:
Search for:




Knowledge Centers
Product Reviews
Data Sheets
Guides & Experts
News
International
Ask Us
Circuit Cellar Online
App Notes
NetSeminars
Careers
Resources
FAQ
EE Times Network
Electronics Group Sites

Untitled Document

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
Click here to get your listing up.

Copyright © 2003 ChipCenter-QuestLink
About ChipCenter-Questlink  Contact Us  Privacy Statement   Advertising Information  FAQ