General Purpose Input/Output (GPIO) 拡張機能コマンドは、GPIO コントローラーのソフトウェア状態を表示します。 これらのコマンドは、GPIO フレームワーク拡張機能ドライバー (Msgpioclx.sys) によって維持されるデータ構造からの情報を表示します。 GPIO フレームワーク拡張機能の詳細については、「 General-Purpose I/O (GPIO) ドライバー」を参照してください。
GPIO デバッガー拡張機能コマンドは、gpiokd.dllで実装されます。 To load the GPIO commands, enter .load gpiokd.dll in the debugger.
各 GPIO コントローラーには、一連のバンクがあります。 各銀行には、ピンの配列を持つピン テーブルがあります。 GPIO デバッガー拡張機能コマンドには、GPIO コントローラー、バンク、ピン テーブル、ピンに関する情報が表示されます。
GPIO コマンドで使用されるデータ構造
GPIO デバッガー拡張機能コマンドでは、Msgpioclx.sysによって定義されているこれらのデータ構造を使用します。
msgpioclx!_DEVICE_EXTENSION
GPIO フレームワーク拡張ドライバーのデバイス拡張機能の構造。 この構造体は、個々の GPIO コントローラーに関する情報を保持します。
msgpioclx!_GPIO_BANK_ENTRY
この構造体は、GPIO コントローラーの個々の銀行に関する情報を保持します。
msgpioclx!_GPIO_PIN_INFORMATION_ENTRY
この構造体は、GPIO コントローラーのバンク内の個々のピンに関する情報を保持します。
GPIO デバッグの概要
To start debugging a GPIO issue, enter the !gpiokd.clientlist command. The !gpiokd.clientlist command displays an overview of all registered GPIO controllers and displays addresses that you can pass to other GPIO debugger commands.
このセクションで
| Topic | Description |
|---|---|
The !gpiokd.help command displays help for the GPIO debugger extension commands. |
|
The !gpiokd.bankinfo command displays information about a GPIO bank. |
|
The !gpiokd.clientlist command displays all registered GPIO controllers. |
|
The !gpiokd.gpioext command displays information about a GPIO controller. |
|
The !gpiokd.pininfo command displays information about a specified GPIO pin. |
|
The !gpiokd.pinisrvec command displays Interrupt Service Routine (ISR) vector information for a specified pin. |
|
The !gpiokd.pintable command displays information about an array of GPIO pins. |