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.
This library manages General Purpose IO pins.
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.
Click here for the library API
GPIO Alphanumeric to GPIO Numeric Assignment
How to use GPIO library in VB.net
How to use GPIO library in VCSharp
|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|