Are you an LLM? You can read better optimized documentation at /zh/docs/UB-Base-Specification-2.1.0/appendix-c-guid-and-class-code/class-code-definition.md for this page in Markdown format
Class Code编码定义
Class Code标识Entity声明的功能或服务,分为Base Code和Sub Code,各8 bits。
Class Code [15:0] |
|---|
Base Code [7:0] | Sub Code [15:8] | 描述 |
|---|
0x00 总线控制器 | 0x00 | UB总线控制器 |
0x01-0xFF | 保留 |
0x01 存储控制器 | 0x00 | LPC存储控制器 |
0x01 | LBC存储控制器 |
0x02-0xFF | 保留 |
0x02 网络控制器 | 0x00 | UB网络控制器 |
0x01 | 以太网控制器 |
0x02-0xFF | 保留 |
0x03 交换设备 | 0x00 | UB交换设备 |
0x01-0xFF | 保留 |
0x04 神经网络设备 | 0x00 | UB神经网络设备 |
0x01-0xFF | 保留 |
0x05–0xFE | 0x00-0xFF | 保留 |
0xFF 其它功能的设备 | 0x00 | 未知功能的设备 |
0x01-0xFF | 保留 |