Sterling
DIIDevHeads IoT Integration Server
•Created by Sterling on 7/11/2024 in #firmware-and-baremetal
How can I switch between output and alternative function modes in an STM?
Hi everyone, Please how can I switch between output and alternative function modes in an STM microcontroller? For example, if I initially configure GPIOA_Pin0 as a digital output and later in the same program want to use it to send data via USART2, what steps are necessary to switch the pin configuration?
@Middleware & OS
9 replies