This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Hardware and software control of pins

Whats the difference between hardware and software control of pins regarding GPIODirModeSet() ?

Also, since the direction can also be configured using GPIOPinTypeGPIO______, then why do we use GPIODirModeSet() ?