Windows应用程序如何访问GPIO引脚? [英] How can a Windows application access GPIO pins?

查看:1859
本文介绍了Windows应用程序如何访问GPIO引脚?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Linux中,使用访问/ dev / gpio *文件或使用inb()/ outb()访问GPIO引脚等方式访问GPIO引脚似乎非常容易。有没有这么简单的方法在Windows中访问应用程序中的GPIO引脚,而不是驱动程序级别?

解决方案

在Windows上,它由使用GPIO驱动程序。请从这里开始:

http://msdn.microsoft.com/en-us/library/windows/hardware/hh439512%28v=vs.85%29.aspx [ ^ ],

http://msdn.microsoft.com/en -us / library / windows / hardware / hh439508%28v = vs.85%29.aspx [ ^ ]。



-SA

In Linux, it seems very easy to access GPIO pins using ways like accessing /dev/gpio* files or using inb()/outb() to access GPIO pins. Is there any such easy way to access GPIO pins at Windows in applications, not driver level?

解决方案

On Windows, it is done by using GPIO drivers. Please see start here:
http://msdn.microsoft.com/en-us/library/windows/hardware/hh439512%28v=vs.85%29.aspx[^],
http://msdn.microsoft.com/en-us/library/windows/hardware/hh439508%28v=vs.85%29.aspx[^].

—SA


这篇关于Windows应用程序如何访问GPIO引脚?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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