Question
Use ADC and USARt1 in STM8L151C6
I am a newbie into the world of embedded systems.
is it possible to enable clock for ADC and TIM4 overflow update.
```
CLK_DeInit();
CLK_LSICmd(DISABLE); // Use internal clock.
CLK_HSICmd(ENABLE);
while(CLK_GetFlagStatus(CLK_FLAG_HSIRDY) == FALSE); // Wait for clock to stabilize
CLK_SYSCLKSourceConfig(CLK_SYSCLKSource_HSI);
CLK_PeripheralClockConfig(CLK_Peripheral_ADC1, ENABLE);
CLK_PeripheralClockConfig(CLK_Peripheral_TIM4, ENABLE);```
Last 2 lines are confusing me. I guess this code make TIM4 working and not ADC.
pls help me.
