![rtd GPS16162HR Скачать руководство пользователя страница 26](http://html1.mh-extra.com/html/rtd/gps16162hr/gps16162hr_user-manual_1497535026.webp)
RTD Embedded Technologies, Inc.
|
www.rtd.com
25
GPS16162 User’s Manual
Table 16: RTD ID DATA READ Indexes
Index
Data
8-Bit Read 16-Bit Read
13
Board Name String
1
—
14
Board Name String
6
61
15
Board Name String
1
—
16
6
62
17
2
—
18
Board Name String
<nul>
<nul><nul>
19
Board Name String
<nul>
—
20
–
255 Unused
FFh
FFFFh
6.2
GPS6160 Compatibility
This register is intended only for GPS6160 compatibility. This address is used to interface to the digital I/O port of the GPS16162. Writing to
this address will transfer the data to the output port, while reading from this address will return the data from the digital inputs. This register is
compatible with the GPS6160 module. Note the default direction of the 16 digital I/O bits is bits 0 - 7 are outputs and 8 - 15 are inputs. Note: If
you change the direction registers from the default, then this register will not operate properly.
Table 17: Digital I/O Data (GPS BASE + 400h)
Write
BIT
FUNCTION
DIRECTION
Bit 0
Output 0
CN8 Pin 2
Bit 1
Output 1
CN8 Pin 3
Bit 2
Output 2
CN8 Pin 4
Bit 3
Output 3
CN8 Pin 5
Bit 4
Output 4
CN8 Pin 6
Bit 5
Output 5
CN8 Pin 7
Bit 6
Output 6
CN8 Pin 8
Bit 7
Output 7
CN8 Pin 9
Table 18: Digital I/O Data (GPS BASE + 400h)
Read
BIT
FUNCTION
DIRECTION
Bit 0
Input 0
CN8 Pin 12
Bit 1
Input 1
CN8 Pin 13
Bit 2
Input 2
CN8 Pin 14
Bit 3
Input 3
CN8 Pin 15
Bit 4
Input 4
CN8 Pin 16
Bit 5
Input 5
CN8 Pin 17
Bit 6
Input 6
CN8 Pin 18
Bit 7
Input 7
CN8 Pin 19