Configure AF GPIO register using 11U STM32F446RE
Hi, i came across a program to config alternation function for SPI GPIO port A.
GPIOA->CRL |= (11U<<20); // PA5 SCK AF output push pull
GPIOA->CRL |= (11U<<28); // PA7 MOSI AF output push pull
What does the 11U means? i know its something like setting the 20th bit to 11? is 11 the binary value for 3? how does the value 3 relates to PA5 SCK and 28 relates to PA7 MOSI ? Anyone can advise?

