31
15.9
REGISTERS CONCERNING INTERRUPT (XAXIS)
Address of register
:
001CH ----- INTERRUPT ENABLE REGISTER
=======================================================================
Command/Return
:
(READ/WRITE )
0000H-->Disable interrupt.(default)
0001H-->Enable interrupt.
Address of register
:
001DH ----- INTERRUPT MODE REGISTER
=======================================================================
Command/Return
:
(READ/WRITE )
0000H--> Interrupt on external latch/load occurred.(default)
0001H--> Interrupt on hardware counter clear.
0002H--> Interrupt on counter value equals counter preset register value.
0003H--> Interrupt on counter carry occurred.
0004H--> Interrupt on counter borrow occurred.
Address of register
:
001EH ----- INTERRUPT FLAG
=======================================================================
Command/Return
:
(READ/WRITE)
0000H-->No function
0001H-->External trigger latch/load occurred.
0002H-->Hardware counter clear occurred.
0003H--> Counter value equals counter preset register value occurred.
0004H--> Counter carry occurred.
0005H--> Counter borrow occurred.
Comment
:
The register’s value will not be “0” until INTERRUPT EOI register (00C2H) set to “1”
to confirm end of interrupt.
Write the above defined value to this register will simulate the occurrence of the real
condition and generate interrupt.