我对Windows 10中的GPIO驱动程序(GpioClx)有疑问。 [英] I have a question about GPIO Driver(GpioClx) in Windows 10.

查看:1559
本文介绍了我对Windows 10中的GPIO驱动程序(GpioClx)有疑问。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我对Windows 10中的GPIO驱动程序(GpioClx)有疑问。

I have a question about GPIO Driver(GpioClx) in Windows 10.

我阅读了GPIO驱动程序的文档WDK并查看其样本。

I read the GPIO Driver's documents of WDK and see its samples.

此GPIO框架扩展驱动程序似乎仅支持平台固件(如ACPI)。

This GPIO framework extension Driver seems only support platform firmware(like ACPI).

执行GPIO 框架扩展驱动程序支持  PCI GPIO控制器?

Do GPIO framework extension Driver support PCI GPIO Controller?

推荐答案

据我所知,GPIO框架扩展是为任何使用GPIO的客户端驱动程序提供一个抽象层。这种抽象涉及GPIO由ACPI连接资源描述,如GpioIo()GpioInt()。无论
,GPIO控制器所访问的物理接口是什么,例如: PCI接口,可以通过GPIO驱动程序将其抽象为ACPI连接资源,通过访问PCI GPIO控制器的寄存器来实现物理GPIO操作。

As far as I understand, GPIO framework extension is to provide an abstract layer for any client drivers that use GPIO for their own purpose. This abstraction involves the GPIO being described by ACPI connection resources like GpioIo() GpioInt(). No matter what physical interface the GPIO controller is being accessed by, e.g. PCI interface, it can be abstracted as ACPI connection resource by having a GPIO driver, which implements the physical GPIO operations by accessing the registers of PCI GPIO controller.

  - 是您是否正在研究为PCI GPIO控制器开发GPIO驱动程序?

 - Are you researching in order to develop a GPIO driver for the PCI GPIO controller?

  - 您是否需要GPIO框架的全部功能,如电平控制,中断,中断屏蔽,等等?我相信可以轻松实现基本的GPIO级别控制。但是,您必须深入研究GPIO控制器数据表
,以便实现GPIO中断功能。

 - Do you need the full features of GPIO framework such as, level control, interrupt, interrupt masking, etc? I believe implementing the basic GPIO level control can be easily implemented. However, you have to research in depth the GPIO controller datasheet in order to implement the GPIO interrupt functionality.


这篇关于我对Windows 10中的GPIO驱动程序(GpioClx)有疑问。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆