User manual
gpio.AI
0x0000 HREG_CTRL 0x1000 reserved
0x0001 HREG_PM 0x1001 HREG_PM
0x0002 HREG_BAUDSEL 0x1002 HREG_BAUDSEL
0x0003 HREG_DBITS 0x1003 HREG_DBITS
0x0004 HREG_PARITY 0x1004 HREG_PARITY
0x0005 HREG_STOP 0x1005 HREG_STOP
0x0006 HREG_SERIAL_MODE 0x1006 HREG_SERIAL_MODE
0x0007 HREG_MODBUS_MODE 0x1007 HREG_MODBUS_MODE
... reserved
... reserved0x0100 SAMPLE_RATE
0x0101 SAMPLE_EXP
Table 3: Holding registers
HREG_CTRL
15 14 13 12 11 10 9 8
CTRL_ACCESS_KEY (0x8E)
7 6 5 4 3 2 1 0
reserved
CONN_
INIT
USER_
WREN
CFG_
WREN
DEFAULT RESET
CTRL_ACCESS_KEY
Any changes to HREG_CTRL take only effect when the correct access key is
written to the upper eight bits each time HREG_CTRL is accessed. This key
(0x8E) needs to be set every time this register is about to be written to.
CONN_INIT
A logic 1 initialises the serial connection (RS232/RS485) according to the
related holding registers.
USER_WREN
Enables write access to the user EEPROM section.
CFG_WREN
Enables write access to the persitent configuration section.
DEFAULT
Restores default factory settings.
5/7







