共用方式為


GPIO Extensions

一般用途輸入/輸出 (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

!gpiokd.help

The !gpiokd.help command displays help for the GPIO debugger extension commands.

!gpiokd.bankinfo

The !gpiokd.bankinfo command displays information about a GPIO bank.

!gpiokd.clientlist

The !gpiokd.clientlist command displays all registered GPIO controllers.

!gpiokd.gpioext

The !gpiokd.gpioext command displays information about a GPIO controller.

!gpiokd.pininfo

The !gpiokd.pininfo command displays information about a specified GPIO pin.

!gpiokd.pinisrvec

The !gpiokd.pinisrvec command displays Interrupt Service Routine (ISR) vector information for a specified pin.

!gpiokd.pintable

The !gpiokd.pintable command displays information about an array of GPIO pins.

另請參閱

專用擴充功能命令