この _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 | 指定したレジスタ内のデータ。 |