Starting to work on Driver_ADC

This commit is contained in:
Robin Marin-Muller 2023-03-20 10:09:42 +01:00
parent b34457b915
commit b60271d253
4 changed files with 11 additions and 3 deletions

1
drivers/Driver_ADC.c Normal file
View file

@ -0,0 +1 @@
#include "Driver_Timer.h"

9
drivers/Driver_ADC.h Normal file
View file

@ -0,0 +1,9 @@
#ifndef MYADC_H
#define MYADC_H
#include "stm32f10x.h"
// Todo
#endif

View file

@ -12,8 +12,6 @@ void MyTimer_Base_Init(MyTimer_Struct_TypeDef * Timer)
RCC->APB1ENR |= RCC_APB1ENR_TIM3EN;
} else if (Timer->Timer == TIM4) {
RCC->APB1ENR |= RCC_APB1ENR_TIM4EN;
} else if (Timer->Timer == TIM5) {
//RCC->APB1ENR |= RCC_APB1ENR_TIM5EN;
}
// Configuration du Timer