Page 42
Rev. 2.0
CobraNet
TM
EV-2
drl
: read the drl (rxl) register.
(for CM-2, the CS181xx host register interface)
msg
: read the msg register (returns four bytes)
data
: reads the data register (returns four bytes)
msga
: returns the value of the message A register.
msgb
: returns the value of the message B register.
msgc
: returns the value of the message C register.
msgd
: returns the value of the message D register.
dataa
: returns the value of the data A register.
datab
: returns the value of the data B register.
datac
: returns the value of the data C register.
datad
: returns the value of the data D register.
control
: returns the value of the control register.
status
: returns the value of the status register.
Write
<register> <value>
This command writes a value to the host register. Refer to the appropriate documentation regard-
ing the host register interface on the CM-1 and CM-2. The architecture is significantly different.
<register> =
(for CM-1, the DSP5303 host register interface.)
icr
: write the icr register.
cvr
: write the cvr register.
isr
: write the isr register.
ivr
: write the ivr register.
drh
: write the drh (rxh) register
drm
: write the drm (rxm) register
drl
: write the drl (rxl) register.
(for CM-2, the CS181xx host register interface)
msg
: write the msg register (writes four bytes)
data
: write the data register (writes four bytes)
msga
: write the value to the message A register.
msgb
: write the value to the message B register.
msgc
: write the value to the message C register.
msgd
: write the value to the message D register.
dataa
: write the value to the data A register.
datab
: write the value to the data B register.
datac
: write the value to the data C register.
datad
: write the value to the data D register.
<value> – a hexadecimal with a “0x” prefix. The individual registers are byte wide, a hexadecimal
in the <value> parameter greater than a byte will only use the least significant byte.
Example:
write msgc 0xb3
Please note that writing certain registers may trigger CobraNet events. Please refer to the CobraNet Pro-
grammer’s Manual for more information regarding these registers and the other host interface registers.
Peekev
<target>
Содержание CobraNet EV-2
Страница 29: ...Page 28 Rev 2 0 CobraNetTM EV 2 Drawings ...
Страница 46: ...CobraNetTM EV 2 Page 45 ...