CCI---USB Type-C命令状态和连接器改变指示。OPM通过该部分数据来告知OPM,针对OPM下发的命令,PPM完成的情况以及指示MESSAGE In
中有效数据的位数。
Offset(Bits)
Field
Size(Bits)
Description
0
Reserved
1
Reserved and shall be set to zero.
1
Connector Change Indicator
7
The PPM shall use this field to indicate the connector number that a change occurred on. Valid values are 0 to the maximum number of connectors supported on the platform. If this field is set to zero, then no change occurred on any of the connectors.
8
Data Length
8
Length of valid data in bytes. If this value is greater than zero then the MESSAGE IN Data Structure contents are valid. The value in this register shall be less than or equal to MAX_DATA_LENGTH(16 Bytes).
16
Reserved
9
Reserved and shall be set to zero.
25
Not Supported Indicator
1
The PPM shall set this field to one when it wants to indicate that it does not currently support a command. This field shall only be valid when the Command Completed Indicator field is set to one.
26
Cancel Completed Indicator
1
The PPM shall set this field to one when it has completed a CANCEL command. This field shall only be valid when the Command Completed Indicator field is set to one.
27
Reset Completed Indicator
1
The PPM shall set this field to one when it has completed a PPM_RESET command. If this field is set to one, then no other bits in this Data Structure shall be set by the PPM. The PPM shall clear this field on reception of the next command (not PPM_RESET) from the OPM.
28
Busy Indicator
1
The PPM shall set this field to one when it wants to indicate that the PPM is currently busy and will complete the command sent to it by the OPM at a later time. If this field is set to one, then no other bits in this Data Structure shall be set by the PPM. When the PPM completes the command sent to it, it shall set this field to zero and update the other fields in this Data Structure appropriately before notifying the OPM.
29
Acknowledge Command Indicator
1
The PPM shall set this field to one when it completes the ACK_CC_CI (Acknowledge Command Completion and/or Change Indication) command. The PPM shall automatically reset this bit when it receives the next command from the OPM. If this field is set to one, then the only other field that can be set is the Connector Change Indicator field.
30
Error Indicator
1
The PPM shall set this field to one when it encounters an error when executing the command sent to it by the OPM.This field shall only be valid when the Command Completed Indicator field is set to one.
31
Command Completed Indicator
1
The PPM shall set this field to one when it wants to indicate that it completed the command sent to it by the OPM.
3.3 CONTROL
USB Type-C Control Data---该部分用来指示OPM想要PPM执行的命令。
Offset(Bits)
Field
Size(Bits)
Description
0
Command
8
The value in this field determines the command that OPM wants the PPM to execute. Bits 16-63 shall contain any parameters specific to this command.
8
Data Length
8
Length of valid data in bytes. If this value is greater than zero then the MESSAGE OUT Data Structure contents are valid. The value in this field shall be less than or equal to MAX_DATA_LENGTH(16 bytes).
16
Command Specific
48
The definition of these bits is different for each command that can be sent to the PPM.