Make sure the peripheral is enabled:
RCC→AHBENR[0]
Configure the MODE register, for every pin that should act as analog input:
0x10
GPIOx→MODE