4.3 Alternative Functions
Peripherals such as the USARTs share pins with the GPIO devices.
Before these peripherals can be utilized, any outputs required by the peripheral
must be configured to an “alternative mode”. For example, the Tx pin (data
out) for USART1 is configured as follows: