stm32f405_adc: Implement ADC resolution

Signed-off-by: Alistair Francis <alistair23@gmail.com>