GPIO exercises
Port pin configuration
Write a function that sets the mode of a port pin to open drain, push-pull or analog mode.