All Forums
 Microsoft Windows CE
 CE Sample Applications and Utilities
 eVC - GPI (BitsyX EIO class and test App)
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

ctacke

877 Posts

Posted - 09 Sep 2003 :  11:40:28  Show Profile  Email Poster
GPI Utility Class

NOTICE: The drivers used in this example are no longer supported by ADS. The code is posted for reference purposes only. ADS currently uses the DIO driver to control digital I/Os on the BitsyX.

This class enables easy use of the general purpose digital I/Os on the ADS BitsyX product by wrapping calls to the GPIx: and GPB1: ports.

Lines can be driven or read individually or groups using a bitmask.

Key APIs Used

CreateFile
WriteFile
ReadFile
CloseHandle
SetTimer
Lines of Code: 173


Source Download
Rev 1 - Sep 9, 2003 (7k zip).


Edited by akidder 16-Mar-2006: Add notice about deprecation of this sample code.

ctacke

877 Posts

Posted - 09 Sep 2003 :  11:43:04  Show Profile  Email Poster
For an analogous application for the Bitsy Plus, see Topic 807.
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000