AnsweredAssumed Answered

Quick Help with GPIO

Question asked by David Peter on Nov 26, 2013
Latest reply on Dec 4, 2013 by Bill Pringlemeir

At a little bit of a lost here..  I'm not using MQX just some simple, I thought, GPIO writing and reading.  I seems to not clearly under stand the data sheet. 

 

example:

IOMUXC->SINGLE.PTC15 =  0x1D;  // set as input with 47K pull up on PTC15

 

rd = GPIO1->PDIR;       // read and bit 28 I think is PTC15 and it should be HIGH

 

 

what am I missing..

 

Thanks

Outcomes