projet_voilier/keil_project/Services/alimentation.h
2020-11-11 15:49:52 +01:00

24 lines
No EOL
582 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