13.07.2015 Views

Data Acquisition

Data Acquisition

Data Acquisition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

esponds in an operation mode. Configuration bytes may vary somewhat, due to hardwareimplementations. The port usage shown below is in the operation mode.Interrupt controller #1 ports are 20–21Interrupts are positive-edge sense.Port 20 is used to acknowledge and re-enable the 8259To send non-specific end-of-interrupt code:mov al,maskout 20h,alPort 21 is used to set/clear the masking registerA mask bit = 0=> enable, 1 => disable a specific IRQTo read interrupt mask registerTo write interrupt mask registerin al,21h bit 7 – 0 = IRQ 7 – 0mov al,maskout 21h,alFor 8259 #2 (AT only)Interrupt controller #1 ports are A0–A1Interrupts are positive-edge sense.Port A0 is used to acknowledge and re-enable the 8259To send non-specific end-of-interrupt code:mov al,20hout A0h,alPort A1 is used to set/clear the masking registerA mask bit = 0 = > enable, 1=> disable a specific IRQTo read interrupt mask registerTo write interrupt mask registerin al,A1h bit 7 - 0 = IRQ 15 - 8mov al,maskout A1,al

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!