Publication No. 500-9300875565-000 Rev. C.0
Programming 61
3.3.9 Network Interrupt Command Register
Network Interrupt Command (NIC) BAR2 (Offset $1D): An 8-bit register
containing a four-bit code that defines the type of network interrupt issued. See
Table 3-46
on page 61 for a definition of the possible codes. The NIC is both read
and write accessible. Only writing to the NIC register will initiate the network
interrupt. The network interrupt is transmitted in order following after all
previously written data.
The NTD, NTN and the NIC registers described above are used to generate
network interrupts. Four pairs of registers described below are involved with
receiving those network interrupts.
3.3.10 Interrupt 1 Sender Data FIFO
Interrupt 1 Sender Data FIFO (ISD1) BAR2 (Offset $20): A 32-bit FIFO containing
up to 127 Dwords of data, which has been sent to this node in type 1 network
interrupt packets. The function of the 32 bits of data is user defined. The ISD1 is a
127 location deep FIFO, but it is coupled and slaved to the companion FIFO SID1.
Essentially, there is only one address pointer for both FIFOs and that pointer is
only affected by access to the SID1 FIFO. For this reason, each location within the
data (ISD1) FIFO can be read multiple times without incrementing the address
pointer, while reading the companion SID1 FIFO increments the pointer for both
FIFOs. For this same reason, the user must read the data (ISD1) before the Sender
ID (SID1) or the corresponding data will be lost.
Table 3-46 Network Interrupt Command Register
NIC: BAR2 Offset $1D
NIC[3,2,1,0] Function
X000
Reset Node Request (sets LISR Bit 03 only, the user
application must perform the actual reset
X001
Network Interrupt 1 (stored in a 127 deep FIFO at the receiving
node)
X010
Network Interrupt 2 (stored in a 127 deep FIFO at the receiving
node)
X011
Network Interrupt 3 (stored in a 127 deep FIFO at the receiving
node)
X100
Reserved (Setting to this type will only set the OWN DATA bit in
the LCSR1)
X101
Reserved (Setting to this type will only set the OWN DATA bit in
the LCSR1)
X110
Reserved (Setting to this type will only set the OWN DATA bit in
the LCSR1)
X111
Network Interrupt 4 (stored in a 127 deep FIFO at the receiving
node)
1XXX
Global enable. Send to all nodes regardless of NTN Register
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com