
RTD Embedded Technologies, Inc. | www.rtd.com 26 COM16155ER/COM16155RER User’s Manual
6.1.5 DIGITAL I/O
COM16155 allows bit programmable direction for all digital I/O bits. COM17045 compatibility is described later. Note the digital I/O registers
are accessed at 404h – 407h above the GPS/GSM COM port. These addresses are used to interface to the digital I/O port. The 16 bits each
have a direction bit. If the direction bit is set to output, a value written to the data bit is provided on the connector. A read will result in the value
on the connector pin (i.e. the output value). If the direction is set to input, a value written to the data bit is ignored and a read will result in the
value on the connector pin.
Table 16: Digital I/O Data (GPS/GSM BASE + 404h)
Default: 0x00
Table 17: Digital I/O Data (GPS/GSM BASE + 405h)
Default: 0x00
Table 18: Digital I/O Direction (GPS/GSM BASE + 406h)
Default: 0xFF
Table 19: Digital I/O Direction (GPS/GSM BASE + 407h)
Default: 0x00
6.1.6 RTD ISA ID
RTD ID is a method to identify a board on the ISA bus. There are two 8-bit registers mapped at BA + 800h and BA + 801h. The registers
can be read as two 8-bit or one 16-bit. An internal pointer is auto-incremented with every read to either address so the data read will step
through each index as indicated below. The pointer is set to zero at reset and can be reset to zero by a read to BA + 802h.
Table 20: RTD ID DATA READ Indexes
Comentarios a estos manuales