Skip to content

Commit a230983

Browse files
authored
Create ds1307.h
1 parent bd67347 commit a230983

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

  • bsp/novosns/ns800/ns800rt7p65-nssinepad/board/port
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/* Copyright (c) 2006-2026, RT-Thread Development Team */
2+
3+
#ifndef __DS1307_H__
4+
#define __DS1307_H__
5+
6+
#include <rtthread.h>
7+
#include <time.h>
8+
9+
rt_err_t ds1307_init(void);
10+
rt_err_t ds1307_get_time(struct tm *time);
11+
rt_err_t ds1307_set_time(struct tm *time);
12+
13+
#endif

0 commit comments

Comments
 (0)