Community
cancel
Showing results for 
Search instead for 
Did you mean: 
CPric4
Beginner
1,555 Views

Intel EG20T GPIO on Windows 7 Embedded

I'm currently trying to listen for when a GPIO input pin goes high by using an interrupt on an Intel Atom board with a EG20T platform controller. I'm using intel's driver and have found their programmers guide here: http://www.intel.com/content/www/us/en/intelligent-systems/previous-generation/pch-eg20t-gpio-win-pr... http://www.intel.com/content/www/us/en/intelligent-systems/previous-generation/pch-eg20t-gpio-win-pr...

But there are still some things I'm confused about.

1. How do I create the hHandle to pass into the DeviceIOControl call? Or more specifically, if I use CreateFile what do I pass in as the file/device name?

2. I don't really understand how the Notify command works. Does the thread just block on that DeviceIOControl call until the pin status changes, and then continues with the new data in the output buffer?

I also found this thread where someone mentioned there was a code example, I'd very much like to get access to that as it may be able to answer my questions.

Thanks

0 Kudos
4 Replies
idata
Community Manager
62 Views

Hello Casey Price,

Welcome to the Intel® Embedded Community.

We're working on getting an answer to your question. Have a great day and we'll be talking with you soon!

Regards.

Leon

CarlosAM_INTEL
Moderator
62 Views

Hello Casey,

 

Thank you for contacting Intel Embedded Community.

 

 

The information that may help you is stated in the https://www-ssl.intel.com/content/www/us/en/secure/intelligent-systems/privileged/eg20t-sample-refer... Intel(R) Platform Controller Hub EG20T Sample Reference Code version 1.1. In order to have access to this document, please request an upgrade from your Basic EDC account to a Privileged account, go to http://www.intel.com/content/www/us/en/embedded/embedded-design-centersupport.html http://www.intel.com/content/www/us/en/embedded/embedded-design-centersupport.html and click on "Manage Your Intel Profile" found in the "Manage Your Account" section of the page. From there you can request an upgrade. After you submit the application, please let us know and we will expedite the review of your application.

 

Best Regards,

 

Carlos A.

 

 

CPric4
Beginner
62 Views

I've submitted my application/request for an upgrade.

CarlosAM_INTEL
Moderator
62 Views

Hello Casey,

 

Thanks for your reply.

Please email your professor's name, phone and email address to mailto:edc_technical.support@intel.com edc_technical.support@intel.com. Someone from our Universities program will contact him.

 

Best Regards,

 

Carlos A.
Reply