voilier-team-1/implementation/rtc.h

20 lines
279 B
C
Raw Normal View History

2023-04-07 13:53:08 +02:00
#ifndef MYRTC_H
#define MYRTC_H
#include "stm32f10x.h"
#include "MyI2C.h"
typedef struct{
int seconds;
int minutes;
int hours;
int day;
int date;
int month;
int year;
} MyRTC_Struct_TypeDef;
2023-04-07 13:53:08 +02:00
void MyRTC_Init(void);
void MyRTC_GetTime(MyRTC_Struct_TypeDef * rtc);
#endif