HP (Hewlett-Packard) E1459A Network Router User Manual


 
Using the HP E1459A Module 35
Figure 2-1. HP E1459A Edge Event Detection Flowchart
Unmask all 16 bits of Port.
(Either Positive, Negative,
or both.)
Optionally, set the
Debounce Time
Enable the Edge Detection
Wait for the Event to Occur.
Do one of the following:
1. Poll the Port Summary Register
2. Poll the Status Subsystem
3. Use SRQ to interrupt
Read the data and clear the
event detector register
[SENSe:]EVENt:PORT
n
:NEDGE:ENABle <
mask
>
[SENSe:]EVENt:PORT
n
:PEDGE:ENABle <
mask
>
INPut
n
:DEBounce:TIMe <
time
>
[SENSe:]EVENt:PORT
n
:EDGE:ENABle <
state
>
[SENSe:]EVENt:PSUMmary:EDGe?
STATus:OPERation:PSUMmary:CONDition?
STATus:OPERation:PSUMmary:ENABle <
mask
>
STATus:OPERation:ENABle 512
*SRE128
[SENSe:]EVENt:PORT
n
:NEDGe?
[SENSe:]EVENt:PORT
n
:PEDGe?
HP E1459A Edge Event Detection Flowchart