lpcware

Newbie Question - GPIO pin allocation

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by a.unique.identifier on Mon May 14 06:57:03 MST 2012
I've noticed many cases in which the libraries associated with an internal resource, such as the 32 bit timer, also set the appropriate GPIO pins accordingly (ex.: The NXP init_timer32 routine sets the pins for CAP0, MAT0, etc.). If I'm using the timer for a blocking delay or to cause an interrupt, I can use the CAP0, MAT0, etc. - or a subset of these pins - for other GPIO functions, correct? I tested this using these GPIO pins for something else and it seems to work fine. I wanted to make certain I wasn't missing some fine point.

This is a general question, but specifically I'm using the LPC1343.

Thanks!

Outcomes