PX_RW_SEQ_EXT#

code: 504

# set
<module-index>/<port-index> PX_RW_SEQ [<bank>, <page>, <address>, <byte_count>] <value>

# get
<module-index>/<port-index> PX_RW_SEQ [<bank>, <page>, <address>, <byte_count>] ?

Description#

I2C sequential access to a transceiver’s register. When invoked, the <byte_count> number of bytes will be read or written in one I2C transaction, in which the <value> is read or written with only a single register address setup. A subsequent invocation will perform a second I2C transaction in the same manner. <bank>: the bank address, integer, 0x00 - 0xFF (0-255). <page>: the transceiver page address, integer, 0x00 - 0xFF (0-255). <address>: the address within the page, integer, 0x00 - 0xFF (0-255).

Actions#

set, get

Parameters#

  1. value: hex list, the bytes to be read or written in one I2C transaction. The number of bytes in the <value> equals <byte_count>.

Example#

# set
input: 0/1 PX_RW_SEQ [0x00,0x01,0x14,0x0A] 0x00001111222200001111
output: <OK>

input: 0/1 PX_RW_SEQ [0,1,20,10] 0x00001111222200001111
output: <OK>

# get
input:  0/1 PX_RW_SEQ [0x00,0x01,0x14,0x0A] ?
output: 0/1 PX_RW_SEQ [0x00,0x01,0x14,0x0A] 0x00001111222200001111

input:  0/1 PX_RW_SEQ [0,1,20,10] ?
output: 0/1 PX_RW_SEQ [0,1,20,10] 0x00001111222200001111