6. Event Management > Event Notification
CPS-1848 User Manual
152
June 2, 2014
Formal Status
This document is confidential and is subject to an NDA.
Integrated Device Technology
6.3.10
Interrupt Notification
An interrupt can be immediately asserted when an event is detected if interrupt notification is enabled for an event. For more
information, see the following:
•
Logical Layer Events Notification
•
Physical Layer Events Notification
•
•
•
JTAG 1149.1 Event Notification (Revision A/B Only)
•
Configuration Block Event Notification
•
Trace and Filter Event Notification
•
Packet Generation and Capture Mode Event Notification
Interrupts can also be generated by programming the
Error Log Match Register {0..7}
to select the required events and assert
an interrupt. For more information, see
Error Log Event Notification Programming Model
.
This interrupt signal is implemented with an open-drain driver and active low. An interrupt is de-asserted when a detected
event is cleared or disabled.
6.3.11
Error Log Event Notification Programming Model
The Error Log
Error Log Match Register {0..7}
can select events reported to the Error Log for interrupt or port-write notification.
Events are encoded as a source and an 8-bit event code. For purposes of selection, the event code is partitioned into the
upper 4 bits called the error group, and the lower four bits called the error number. The method of selection depends on the
following pairs of fields in the
Error Log Match Register {0..7}
• ERR_SOURCE_MASK and ERR_SOURCE – ERR_SOURCE_MASK is set to 0 if the source of reported events should be
compared to the ERR_SOURCE field.
• ERR_GROUP_MASK and ERR_GROUP – ERR_GROUP_MASK is set to 0 if the upper 4 bits of the event code should be
compared to the ERR_GROUP value.
• ERR_NUM_MASK and ERR_NUM – ERR_NUM_MASK is set to 0 if the lower 4 bits of the event code should be compared
to the ERR_NUM value.
Once an event has matched the enabled source, group, and number, there are four different methods to trigger notification,
also in the
Error Log Match Register {0..7}
. The following bits determine how or if notification occurs. Multiple bits can be set at
the same time, so that multiple notification functions are invoked:
• MAINT_PKT_EN – Send an IDT port-write.
• FLAG_EN – Set the associated FLAG bit in the
Error Log Match Status Register
, and assert an interrupt (for more
information, see
).
• CNT_EN – Increment the
).
• STOP_EN – Stop accepting more event reports into the Error Log, and optionally send an IDT port-write (for more
information, see
).
.MAINT_PKT_DIS must be cleared to send port-writes from the error log.
The CPS-1848 interrupt line is an active-low signal (for more information, see the CPS-1848
Datasheet).