mirror of
https://github.com/xushoucai/RTL8710_SDK_GCC_VERSION.git
synced 2025-07-31 20:21:04 +00:00
GCC SDK RTL8710 basic version (including the window platform cygwin installation and Ubuntu platform Linux Installation routines),
including cross compilation of the installation, compile, link, run, debug, and so on. SDK implementation of the function: 1, WiFi connection settings (including AP mode and STA mode). 2, peripheral resource control (including GPIO, SPI, UART, IIC, etc.). 3, the user uses the sample method.
This commit is contained in:
parent
36b1b0dcd9
commit
1d3357d3b0
2094 changed files with 779991 additions and 0 deletions
21
component/common/network/sntp/sntp.h
Normal file
21
component/common/network/sntp/sntp.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef __SNTP_H__
|
||||
#define __SNTP_H__
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void sntp_init(void);
|
||||
void sntp_stop(void);
|
||||
|
||||
/* Realtek added */
|
||||
void sntp_get_lasttime(long *sec, long *usec, unsigned int *tick);
|
||||
struct tm sntp_gen_system_time(int timezone);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __SNTP_H__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue