XS1-U6A-64-FB96 Datasheet 40
The response to the read message comprises either control token 3, 32-bit of data,
and control-token 1 (for success), or control tokens 4 and 1 (for failure).
A.3 Accessing digital and analogue node configuration registers
Node configuration registers can be accessed through the interconnect using
the functions
write_node_config_reg(device, ...)
and
read_node_config_reg(device,
>...)
, where
device
is the name of the node. These functions implement the
protocols described below.
Instead of using the functions above, a channel-end can be allocated to commu-
nicate with the node configuration registers. The destination of the channel-end
should be set to 0xnnnnC30C where nnnn is the node-identifier.
A write message comprises the following:
control-token 24-bit response 16-bit 32-bit control-token
192 channel-end identifier register number data 1
The response to a write message comprises either control tokens 3 and 1 (for
success), or control tokens 4 and 1 (for failure).
A read message comprises the following:
control-token 24-bit response 16-bit control-token
193 channel-end identifier register number 1
The response to a read message comprises either control token 3, 32-bit of data,
and control-token 1 (for success), or control tokens 4 and 1 (for failure).
A.4 Accessing a register of an analogue peripheral
Peripheral registers can be accessed through the interconnect using the functions
write_periph_32(device, peripheral, ...)
,
read_periph_32(device, peripheral, ...)
>
,
write_periph_8(device, peripheral, ...)
, and
read_periph_8(device, peripheral
>, ...)
; where device is the name of the analogue device, and peripheral is the
number of the peripheral. These functions implement the protocols described
below.
A channel-end should be allocated to communicate with the configuration registers.
The destination of the channel-end should be set to
0xnnnnpp02
where
nnnn
is the
node-identifier and pp is the peripheral identifier.
A write message comprises the following:
control-token 24-bit response 8-bit 8-bit data control-token
36 channel-end identifier register number size 1
The response to a write message comprises either control tokens 3 and 1 (for
success), or control tokens 4 and 1 (for failure).
A read message comprises the following:
X4761,