Functions§
- enable_
afio - enable_
apb2 - Batch-enable APB2 peripherals in a single write. Only safe at init before other peripherals are enabled.
- enable_
gpio - enable_
usart - Enable USART
nclock on whichever bus it lives on. - reset_
apb2 - Pulse-reset all APB2 peripherals (USART1, GPIO, AFIO, etc.) then disable their clocks — restores power-on default state.
- usart_
apb2_ bit - APB2 enable bit for USART
n, or 0 if not on APB2.