9 years, 6 months ago.

What is the default for Pin Direction, OutputState, Output Type

I have a pin tied directly to Reset.

If I declare the pin as "DigitalInOut PIN_INPUT" The Processor constantly reboots

DigitalInOut HardwareReset(P1_31,PIN_INPUT,OpenDrain,1);



If I declare the pin as DigitalInOut The Processor correctly runs

DigitalInOut HardwareReset(P1_31,PIN_OUTPUT,OpenDrain,1);



If I declare it as a simple DigitalIn things are fine, I just can't reset the board

DigitalIn HardwareReset(P1_31,PullUp);



If on the other hand I use a DigitalOut things appear to work OK, but.....I actually need an open drain, which doesn't appear to be available anymore

DigitalOut HardwareReset(P1_31,1);

Question relating to:

Be the first to answer this question.