projet_voilier/keil_project/Services/alimentation.h
Jasper Güldenstein d5512c483e adc tested
2020-11-13 15:16:28 +01:00

24 lines
583 B
C

// RIEN A MODIFIER //
#ifndef ALIMENTATION_H
#define ALIMENTATION_H
#include "stm32f103xb.h"
#include "stm32f1xx_ll_adc.h"
#include "stm32f1xx_ll_bus.h"
#include "stm32f1xx_ll_rcc.h"
#include "stm32f1xx_ll_gpio.h"
#include "math.h"
/* =====================================================================================
Les fonctions qui gèrent les IO (ajout par rapport à l'activité 1)
=======================================================================================*/
void alimentation_init(void);
float get_battery_level(void);
int is_level_enough(void);
#endif