Search by Tags

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

 

Article updated at 28 Oct 2017
Compare with Revision



Attention: 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

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