# Reg. GPIO Subscription

**URL:** <https://forum.sierrawireless.com/t/reg-gpio-subscription/3026>\
**Category:** Legacy AirPrime modules\
**Created:** [March 10, 2009, 5:28pm UTC](https://forum.sierrawireless.com/t/reg-gpio-subscription/3026 "2009-03-10T17:28:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vanee](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@Vanee](https://forum.sierrawireless.com/u/Vanee)\
**Post date:** [March 10, 2009, 5:28pm UTC](https://forum.sierrawireless.com/t/reg-gpio-subscription/3026/1 "2009-03-10T17:28:16Z")

</div>

Hi,  
can anyone give a sample of how to configure the GPIO pins 1 and 2 as output mode and GPIO pin 33 as input using the adl commands. And, more importantly how to use the adl\_iowrite() and adl\_ioread()? im confused about the parameters used in these functions. Sample code is a welcome.  
Expecting a reply at the earliest.

Regards,  
S. Vanee
