Resolved! Register programming GPIOA->(AF07<<4) and (AF07<<8)
hi come across these code using register programing, STM32F411 Nucleo bd, anyone can advise how does the (AF07<<4) and (AF07<<8) relate to UART2 PA2 & PA3? please advise.. #define AF07 0x07 GPIOA->AFR[1]|=(AF07<<4)|(AF07<<8); //ALT7 for UART2...