I am trying to code my STM32L1 controller bit by bit. I am trying to initialize the ADC and read a single channel and it is not working. I am not sure where the problem is?
#include <stdio.h>#include <stdint.h>#include "stm32l1xx.h"void TIM3_IRQHandler(void); uint32_t Channel_1=0;void TIM3_IRQHandler(void) %Interrupt every 1 second%{ TIM3->SR&=~TIM_SR_UIF; %Clear Flag% ADC1->CR2|=ADC_CR2_SWSTART; %ADC ...