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.
9 years, 1 month ago.
default mode value of DigitalOut is GPIO_MODE_OUTPUT_PP?
In DigitalOut, no mode can be selected. I debug the code, and think DigitalOut's mode is GPIO_MODE_OUTPUT_PP, is this right?
The default mode for BusOut and BusInOut also is GPIO_MODE_OUTPUT_PP, is this right?
1 Answer
9 years, 1 month ago.
It is handy to put the device you are using here (I assume a Gecko). PP = push-pull, so thats what you need to have an output.