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?
Thanks!!!
-- Rich
PS I now have StickOS (MCU-Resident Rapid Prototyping and Education Environment from the canyourbadgedothis.com 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!
If you take a look at the table 2.1, Signal Properties Summary, on page 57 of the Device User's Guide, you can clearly see that the PAD[0..15] pins can only be used as digital or analog inputs.
Sten
No you can't use S12D ATD pins as digital outputs.
But newer S12C, S12XD families allow to use ATD pins as digital outputs.