hit counter code

Positive Edge Detect Register Port 1/3; Negative Edge Detect Register Port 1/3; Positive Mask Register Port 1/3 - HP E1459A User Manual

64-channel isolated input interrupt module
Table of Contents

Advertisement

Positive Edge
Detect Register Port
Positive Edge Detect Register Port 1/3 (Channels 16-31/48-63) (base + 24h)
b + 24
15
14
13
h
Write
Read
Ch31
Ch30
Ch29
Read
Ch63
Ch62
Ch61
Negative Edge
Detect Register Port
Negative Edge Detect Register Port 1/3 (Channels 16-31/48-63) (base + 26h)
b + 26
15
14
13
h
Write
Read
Ch31
Ch30
Ch29
Read
Ch63
Ch62
Ch61
Positive Mask
Register Port 1/3
Positive Mask Register Port 1/3 (Channels 16-31/48-63) (base + 28h)
b + 28
15
14
h
Read/Write
Ch31
Ch30
Read/Write
Ch63
Ch62
88 HP E1459A Register Definitions
The Positive Edge Detect Register for Port 1/3 (base + 24
bit 4 of the Control/Status Register is low ("0"), Port 1 data is accessed. If
bit 4 is high ("1"), Port 3 data will be accessed. The operation of the Positive
1/3
Edge Detect Register for Port 1/3 is identical to those of Port 0/2.
12
11
10
Ch28
Ch27
Ch26
Ch60
Ch59
Ch58
For Positive/Negative Edge Detect and Mask Registers, channels 16 through
31 are accessed when BS = 0 in the Status/Control Register.
For Positive/Negative Edge Detect and Mask Registers, channels 48 through
63 are accessed when BS = 1 in the Status/Control Register.
The Negative Edge Detect Register for Port 1/3 (base + 26
bit 4 of the Control/Status Register is low ("0"), Port 1 data is accessed. If
bit 4 is high ("1"), Port 3 data will be accessed. The operation of the
1/3
Negative Edge Detect Register for Port 1/3 is identical to those of Port 0/2.
12
11
10
Ch28
Ch27
Ch26
Ch60
Ch59
Ch58
The Positive Mask Register for Port 1/3 (base + 28
If bit 4 of the Control/Status Register is low ("0"), Port 1 data is accessed. If
bit 4 is high ("1"), Port 3 data will be accessed. The operation of the Positive
Mask Register for Port 1/3 is identical to those of Port 0/2.
13
12
11
10
Ch29
Ch28
Ch27
Ch26
Ch61
Ch60
Ch59
Ch58
9
8
7
6
No Effect
Ch25
Ch24
Ch23
Ch22
Ch57
Ch56
Ch55
Ch54
9
8
7
6
No Effect
Ch25
Ch24
Ch23
Ch22
Ch57
Ch56
Ch55
Ch54
9
8
7
6
Ch25
Ch24
Ch23
Ch22
Ch57
Ch56
Ch55
Ch54
) is read only. If
h
5
4
3
2
Ch21
Ch20
Ch19
Ch18
Ch53
Ch52
Ch51
Ch50
) is read only. If
h
5
4
3
2
Ch21
Ch20
Ch19
Ch18
Ch53
Ch52
Ch51
Ch50
) can be read or written.
h
5
4
3
2
Ch21
Ch20
Ch19
Ch18
Ch53
Ch52
Ch51
Ch50
1
0
Ch17
Ch16
Ch49
Ch48
1
0
Ch17
Ch16
Ch49
Ch48
1
0
Ch17
Ch16
Ch49
Ch48

Advertisement

Table of Contents
loading

Table of Contents