
ML7065-033 User’s Manual
Chapter 7 Commands
21
See below for the format of the data that is transmitted from MAC to the host system.
SCI header
Payload
LSB
MSB
Field name Status
Length
Primitive Code
Payload
Length
1 byte
1 byte
1 byte
Value subtracted by 1 from the value of
Length field
SCI Header Format (2)
The SCI header of the data that is transmitted from MAC to the host system comprises three fields: Status field,
Length field, and Primitive Code field. The specification of each field is described below.
Status field:
Only bit 0 and bit “1” are used. Bit 2 to bit 7 are not used (always set to “0”).
•
bit
0:
This bit is set to “1” when data is to be transmitted to the host by MAC.
•
bit
1:
This bit is set to “1” when MAC is ready to receive data from the host system. When this bit is set to
“0”, MAC can neither receive the data that is transmitted from the host system nor return a response
(event) indicating that “data could not be received” to the host system.
•
bit 2 to bit 7:
Unused.
Length field:
The length following the Length field (Primitive Code + Payload) is set. The unit is bytes.
Primitive Code field:
The Primitive Code of the data (event) that is transmitted to the host system is set. See the table in Section
7.1, “List of Commands” for the value to be set.
This chapter describes the format of each primitive (command) that is handled as a payload on SCI. The table
below shows how to interpret a parameter format table.
Item Description
No
Indicates the sequence of the parameter that flows on SCI. On SCI, all the data items are sent in
LSB first mode. In the table, numbers 1, 2, 3 .... are assigned sequentially from LSB.
Parameter
Name
Parameter name. The name covers several bytes and does not fit into one byte. When the size is
fixed, it is displayed in array format such as “...[0]”, “...[1]”.
When the parameter name is “Pad”, the field is not used. The value of Pad is 0.
U
n
Indicates that the parameter is an unsigned type and the size is
n
bits.
B
n
, B
n
…B
n
Indicates that the parameter is a bit map type.
Type
*
Indicates that the parameter size is variable. Some parameter is omitted when the size
becomes 0.