GPIO reset to initial state

tatulea
Posts: 18
Joined: Wed Feb 06, 2019 12:39 pm

GPIO reset to initial state

Postby tatulea » Mon Oct 07, 2019 3:32 pm

Hi,

I have a project with a Type-C connector to a custom board. This means that my communication pins need to be configured based on the Type-C insertion way (face up or face down). I am doing some debugging because my Type-C connection doesn't work all the time and I would like to know how to get the initial state of some GPIO pins (input or output; pull-up state, etc). I am using gpio_reset_pin to delete the configuration of a GPIO, but I am not sure if this function sets its really initial state.

Who is online

Users browsing this forum: justenyonyer and 62 guests