此 _DSM 位元組可定址能量支援功能類別 (功能介面 1) 功能的介面讀取 Inter-Integrated 電路 (I2C) 暫存器。 此功能可啟用需要使用廠商特定暫存器的案例。 它也用於偵錯。
Input
Arg3
| Field | Byte length | Byte offset | Description |
|---|---|---|---|
| Page | 1 | 0 | I2C 暫存器所在的頁面。 |
| Offset | 1 | 1 | 暫存器在頁面內的位移量。 |
Output
| Field | Byte length | Byte offset | Register | Description |
|---|---|---|---|---|
| Status | 4 | 0 | This function can return the following Function-Specific Error Code: 1: Invalid page. For more information, see _DSM Method Output. | |
| Data | 1 | 4 | 指定暫存器中的資料。 |