Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 1 month 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);