Rich Testardi

Use MC9S12DT256 atd pins as digital outputs?

Discussion created by Rich Testardi on Mar 10, 2009
Latest reply on Mar 11, 2009 by Rich Testardi

Hi all,


I'm having a bit of trouble navigating the modular documentation for the MC9S12DT256 -- it is very hard to be sure you *can't* do something when you have to search a dozen places, so I thought I'd ask here before I concluded negatively.


Is it possible to use the PADxx/ANxx pins on the MC9S12DT256 as digital outputs?  It seems clearly easy to me to use them as digital inputs, but I can't find the "DDR" register to turn them into outputs!


Can someone point me to where I should look in the doc, or what register names I should use in the headers?




-- Rich


PS I now have StickOS (MCU-Resident Rapid Prototyping and Education Environment from the contest!) running on 9S08 and 9S12 (minus the 9S12 pin controller, obviously, which should be done tomorrow) -- it is very exciting to run on the new MCUs!