TYPE-C PD供电协议信号-4b5b编码对照表
2021-12-25
5119
0
PD供电协议编码格式是4b5b,即把4位的数据(0x0-0xf)编码成5位,其编码对照表见下图:
名称 | 4b | 5b Symbol | 描述 |
---|---|---|---|
0 | 0 | 11110 | hex data 0 |
1 | 1 | 1001 | hex data 1 |
2 | 10 | 10100 | hex data 2 |
3 | 11 | 10101 | hex data 3 |
4 | 100 | 1010 | hex data 4 |
5 | 101 | 1011 | hex data 5 |
6 | 110 | 1110 | hex data 6 |
7 | 111 | 1111 | hex data 7 |
8 | 1000 | 10010 | hex data 8 |
9 | 1001 | 10011 | hex data 9 |
A | 1010 | 10110 | hex data A |
B | 1011 | 10111 | hex data B |
C | 1100 | 11010 | hex data C |
D | 1101 | 11011 | hex data D |
E | 1110 | 11100 | hex data E |
F | 1111 | 11101 | hex data F |
Sync-1 | K-code | 11000 | Startsynch #1 |
Sync-2 | K-code | 10001 | Startsynch #2 |
RST-1 | K-code | 111 | Hard Reset #1 |
RST-2 | K-code | 11001 | Hard Reset #2 |
EOP | K-code | 1101 | EOP End Of Packet |
Reserved | Error | 0 | Shall Not be used |
Reserved | Error | 1 | Shall Not be used |
Reserved | Error | 10 | Shall Not be used |
Reserved | Error | 11 | Shall Not be used |
Reserved | Error | 100 | Shall Not be used |
Reserved | Error | 101 | Shall Not be used |
Sync-3 | K-code | 110 | Startsynch #3 |
Reserved | Error | 1000 | Shall Not be used |
Reserved | Error | 1100 | Shall Not be used |
Reserved | Error | 10000 | Shall Not be used |
Reserved | Error | 11111 | Shall Not be used |
HID人机交互QQ群:564808376
UAC音频QQ群:218581009
UVC相机QQ群:331552032
BOT&UASP大容量存储QQ群:258159197
STC-USB单片机QQ群:315457461
USB技术交流QQ群2:580684376
USB技术交流QQ群:952873936