Zephyr Project API
3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
reboot.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015 Wind River Systems, Inc.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
14
#ifndef ZEPHYR_INCLUDE_SYS_REBOOT_H_
15
#define ZEPHYR_INCLUDE_SYS_REBOOT_H_
16
17
#include <
zephyr/toolchain.h
>
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
#define SYS_REBOOT_WARM 0
24
#define SYS_REBOOT_COLD 1
25
35
FUNC_NORETURN
void
sys_reboot
(
int
type);
36
37
#ifdef __cplusplus
38
}
39
#endif
40
41
#endif
/* ZEPHYR_INCLUDE_SYS_REBOOT_H_ */
sys_reboot
FUNC_NORETURN void sys_reboot(int type)
Reboot the system.
toolchain.h
Macros to abstract toolchain specific capabilities.
include
zephyr
sys
reboot.h
Generated on Sun Sep 15 2024 17:01:30 for Zephyr Project API by
1.9.8