HP (Hewlett-Packard) E1459A Network Router User Manual


 
54 HP E1459A SCPI Command Reference
[SENSe:]EVENt:PORT
n
:EDGE?
Returns the status of the Edge Detect Event for Port n as either a a (unsigned) 0 or a 1.
Parameters
Comments A 0 means an edge event was not detected; a 1 means an edge event was
detected.
An edge event must have been enabled by the
[SENSe:]EVENt:PORTn:EDGE<state> command and a Positive edge mask
and/or Negative edge mask must be enabled and set to a non-zero value.
The Edge Event Status is cleared by reading PEDGE and/or NEDGE status
registers for that port.
[SENSe:]EVENt:PORT
n
:EDGE:ENABle <
state
>
Enables / disables an edge event interrupt for Port n.
Parameters
Comments Refer to the [SENSe:]EVENt:PORTn:PEDGe:ENAB or
[SENSe:]EVENt:PORTn:NEDGe:ENAB commands to configure the edge
detect registers.
The Edge Event Status is cleared by reading PEDGE and/or NEDGE status
registers for that port.
*RST Condition: not enabled.
Example EVEN:PORT 2:EDGE:ENAB ON
Enables Edge Detection on Port 2
Parameter Name Parameter Type Range of Values Default
PORT
n
numeric 0, 1, 2, 3 (PORT = PORT0) PORT0
Parameter Name Parameter Type Range of Values Default
PORT
n
<state>
numeric
numeric or discrete
0, 1, 2, 3 (PORT = PORT0)
0, 1, OFF, ON
PORT0
OFF