[BSP] Fix GPIO alternate function definition order
Closes #144 (closed)
Modified the files where a change of mode of a GPIO to Mode::ALTERNATE happened before setting the alternate function number
Edited by Pietro Bortolus
Closes #144 (closed)
Modified the files where a change of mode of a GPIO to Mode::ALTERNATE happened before setting the alternate function number