![rtd GPS16162HR Скачать руководство пользователя страница 24](http://html1.mh-extra.com/html/rtd/gps16162hr/gps16162hr_user-manual_1497535024.webp)
RTD Embedded Technologies, Inc.
|
www.rtd.com
23
GPS16162 User’s Manual
6
Register Address Space
6.1
General Board Control
The I/O map of the GPS16162 occupies a group of eight bytes of host PC I/O space. This window is freely selectable by the user by jumpers
on the base address header.
After setting the base address (GPS Base) you have access to the internal resources of the GPS16162 control
logic.
Table 10: Register Map
ADDRESS (hex)
REGISTER
DIRECTION COMMENTS
GPS BASE + 0
TXD
Read
Standard
16C550 UART
Registers
RXD
Write
BAUD div. Low
Read/Write
GPS BASE + 1
BAUD div. Low
Read/Write
IRQ enable
Read/Write
GPS BASE + 2
IRQ ID
Read/Write
GPS BASE + 3
Line control
Read/Write
GPS BASE + 4
Modem control
Read/Write
GPS BASE + 5
Line status
Read
GPS BASE + 6
Modem status
Read
GPS BASE + 400h Digital I/O
Read/Write
GPS6160 compatibility DIO
GPS BASE + 401h GPS Status
Read/Write
Configuration registers
GPS BASE + 402h
Reserved
GPS BASE + 403h
Reserved
GPS BASE + 404h Digital I/O
Read/Write
Digital I/O bits 0-7
GPS BASE + 405h Digital I/O
Read/Write
Digital I/O bits 8-15
GPS BASE + 406h Digital I/O Direction Read/Write
Digital I/O direction bits 0-7
GPS BASE + 407h Digital I/O Direction Read/Write
Digital I/O direction bits 8-15
GPS BASE + 800h RTD ID Data
Read
Read next RTD ID Character
GPS BASE + 801h RTD ID Data
Read
Read next RTD ID Character
GPS BASE + 802h Reset RTD ID
Read
Reset RTD ID counter
6.1.1
UART
I/O
(GPS
BASE
+
0
TO
GPS
BASE
+
7)
These are the UART registers for the GPS module. These resources are not described in detail, since they are mapped as a standard PC
serial port. For more details on the EXAR 16C550 UART chip programming please download the component specific data from the website:
6.1.2
GPS
S
TATUS
(GPS
BASE
+
401
H
)
Table 11: GPS STATUS (GPS BASE + 401h)
Default: 0x00
BIT
FUNCTION
DIRECTION COMMENTS
Bit 0
Reserved
Bit 1
Reserved
Bit 2
Reserved
Bit 3
/EN_INT
Read/Write
0 = GPS interrupts enabled
1 = Disabled
Bit 4
Reserved
Bit 5
Reserved
Bit 6
1PPS/DIO 0
Read/Write
0 = DIO 0
1 = 1PPS
Bit 7 1 PPS
Read
1 PPS from GPS
Note:
To output 1 PPS out DIO0, DIO0 direction needs set to an output.