
Confirmation code=1aH: wrong register number;
Port Control Control
Description:
For UART protocol, it control the
“
on/off
”
of USB port;
For USB protocol, it control the
“
on/off
”
of UART port;
Input Parameter: control code
Control code ”0” means turns off the port;
Control code ”1” means turns on the port;
Return Parameter: confirmation code;
Instruction code: 17H
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
1byte
2 bytes
Header Chip
address
Package
identifier
Package
length
Instruction
code
Control
code
Checksum
0xEF01 xxxx 01H 04H
17H
0/1 sum
Acknowledge package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
Header Chip
address
Package
identifier
Package
length
Confirmation
code
Checksum
0xEF01 xxxx 07H 03H xxH
sum
Note: Confirmation code=00H: Port operation complete;
Confirmation code=01H: error when receiving package;
Confirmation code=1dH: fail to operate the communication port;
Read system Parameter ReadSysPara
Description: Read Module’s status register and system basic configuration parameters;
(
Refer to 4.4
for system configuration parameter and 4.5 for system status register
)
.
Input Parameter
:
none
Return Parameter
:
Confirmation code (1 byte) + basic parameter
(
16bytes
)
Instuction code: 0fH
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
Header Module
address
Package
identifier
Package length
Instruction
code
Checksum
0xEF01 Xxxx
01H
03H
0fH
sum
Acknowledge package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
16 bytes
2 bytes
Header Module
address
Package
identifier
Package
length
Confirmation
code
Basic parameter
list
Checksum
0xEF01 xxxx
07H
3+16
xxH
See
following
table
sum
Note: Confirmation code=00H: read complete;
Confirmation code=01H: error when receiving package;
- 10 -
Содержание R303A Series
Страница 24: ...22...