syscalls.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018 Gunar Schorcht
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
21 #ifndef SYSCALLS_H
22 #define SYSCALLS_H
23 
24 #include "syscalls_common.h"
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
31 uint64_t system_get_time_64 (void);
32 
34 void system_wdt_init (void);
35 
37 void system_wdt_start (void);
38 
40 void system_wdt_stop (void);
41 
43 void system_wdt_feed (void);
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49 #endif /* SYSCALLS_H */
system_wdt_start
void system_wdt_start(void)
start the initialized system watchdog timer
system_wdt_init
void system_wdt_init(void)
initialize system watchdog timer and start it
system_get_time_64
uint64_t system_get_time_64(void)
Time since boot in us (64bit version)
system_wdt_feed
void system_wdt_feed(void)
reset the system watchdog timer
system_wdt_stop
void system_wdt_stop(void)
start the running system watchdog timer
syscalls_common.h
Implementation of required system calls for ESP SoCs.