Skip to main content

Windows CE Library - General Purpose Input Output Library (GPIOLIb)

danger

this is a legacy library and thus not supported by Toradex anymore. We recommend that you use the new libraries for all Toradex modules. Please see the Toradex CE Libraries and Code Samples for up-to-date information.


Description

This library manages General Purpose IO pins.

Current Version

V2.3

Application Notes

The GPIOLib provides functions to interact with GPIO pins - pins can be referenced using SODIMM pin numbers or processor-specifc GPIO pin numbers. Individual functions in the library require a specific type of pin reference type. For portability, SODIMM pin numbers and associated functions are recommended. In some application-specific instances processor-specific GPIO pin numbers will need to be used.

SODIMM pin numbers are numeric. Our datasheets use an alphanumeric format. Conversion between the two formats is detailed here.

Some SODIMM pins have multiple GPIO pins multiplexed on to them - consult the datasheet for your module for specific details.

Library API

Click here for the library API

Other Resources

Windows CE Libraries Overview

How to use GPIO library

GPIO Alphanumeric to GPIO Numeric Assignment

GPIOConfig Tool

Second instance GPIO

GPIO config block settings

How to use GPIO library in VB.net

How to use GPIO library in VCSharp

How to use matrix keypad

Revision History

DateRevChange Notes
11/03/2014V2.3Improve support for Colibri T30 (InitGpioLibEx())
Fixed issue with SODIMM pin 133 on Colibri T30
23/09/2013V2.2.1Change default SDK to Colibri600 / Fix mapping of GPIO BB0
12/08/2013V2.2.0Fixed GPIO Input enable issue on T30
17/06/2013V2.1.3Updated to work with Apalis T30
Send Feedback!