Architecture cleanup
This commit is contained in:
@@ -9,7 +9,15 @@
|
||||
#define INC_CLOCK_H_
|
||||
|
||||
#include <stdint-gcc.h>
|
||||
#include "ds1307.h"
|
||||
|
||||
// functions from lower layer
|
||||
void clock_InitModule(void);
|
||||
void clock_update(ds1307_dev_t *ds1307_dev);
|
||||
|
||||
|
||||
|
||||
// functions from service layer
|
||||
uint8_t clock_convert_hours(uint8_t hours);
|
||||
uint8_t clock_convert_min_sec(uint8_t min_sec);
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#define DS1307_H_
|
||||
|
||||
#include "i2c.h"
|
||||
//#include "DBG.h"
|
||||
|
||||
|
||||
typedef enum {
|
||||
@@ -94,7 +93,5 @@ void ds1307_update(ds1307_dev_t *ds1307_dev);
|
||||
void ds1307_config(uint8_t seconds, uint8_t minutes, uint8_t hours,ds1307_days_t day, uint8_t date,
|
||||
ds1307_months_t month, uint16_t year, int8_t t_zone_hour, int8_t t_zone_min);
|
||||
|
||||
void ds1307_log_uart(ds1307_dev_t *ds1307_dev);
|
||||
|
||||
|
||||
#endif /* DS1307_H_ */
|
||||
|
||||
@@ -8,8 +8,6 @@
|
||||
#ifndef INC_MYCOMMS_H_
|
||||
#define INC_MYCOMMS_H_
|
||||
|
||||
#include "stdint-gcc.h"
|
||||
|
||||
typedef enum {
|
||||
com_WhoAmI,
|
||||
com_setTime,
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
#include "stdint-gcc.h"
|
||||
|
||||
void ws_Effect_InitModule(void);
|
||||
|
||||
void ws_Effect_RoudTheClock(void);
|
||||
void ws_Effect_RandRound(void);
|
||||
|
||||
Reference in New Issue
Block a user