Intel
®
81341 and 81342—PMON Unit
Intel
®
81341 and 81342 I/O Processors
Developer’s Manual
December 2007
976
Order Number: 315037-002US
18.5.7.2 Clock Events
One of the clock events matches the frequency of the
PMON
unit clock. Software must
comprehend that the frequency of this
PMON
unit clock may be different from one
component to another. One piece of functionality this enables is to allow for event(s) to
be counted during a fixed period of time. The Clock Event that matched the
PMON
Counter frequency can be used to trigger any command to execute. This essentially
allows the command trigger capability to provide a programmable timer.
For example, when needing to know how many times event AAAh occurs during
1 millisecond, start counting event AAAh at the same time as when starting to count
the
PMON
Counter frequency event. With a 100 MHz clock, event 001h would be
started as an EQUAL Threshold Compare against the value 000186A0h (number of 100
MHz clock ticks in 1 ms). When the threshold compare of the counted clock events is
true and therefore generates a threshold event, the threshold event triggers another
counter to stop counting event AAAh.
18.5.7.3 Threshold Events
These are the outputs of the threshold comparators. When the value in a data register
is compared to its corresponding counter value and the condition is true, a threshold
event is generated. This results in:
• Pulse on the signal lines that are routed to the events input port (one signal line
from each comparator).
• Pulse on the signal line that is routed to the
PMON
OUT output pin (one signal that
is an OR of all signal lines from each comparator).
One piece of functionality this enables is to allow for
PMON
commands to be completed
only when a Threshold Event occurs. In other words, a Threshold Event can be used as
a Command Trigger to control the execution of any
PMON
command (start, stop,
sample, etc.).
Table 615. 81341 and 81342 PMON Clock Events
Event Selection Code (Hex)
Event
Type Comment
001
XSI clock
D
up to 400MHz, SKU dependent
Others
Reserved
Table 616. 81341 and 81342 PMON Threshold Events
Event Selection Code (Hex)
Event
Type Comment
010
Counter0 Threshold
OD
011
Counter1 Threshold
OD
012
Counter2 Threshold
OD
013
Counter3 Threshold
OD
014
Counter4 Threshold
OD
015
Counter5 Threshold
OD
016
Counter6 Threshold
OD
017
Counter7 Threshold
OD