Zephyr Project API
4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
poweroff.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
12
13
#ifndef ZEPHYR_INCLUDE_SYS_POWEROFF_H_
14
#define ZEPHYR_INCLUDE_SYS_POWEROFF_H_
15
16
#include <
zephyr/toolchain.h
>
17
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
29
31
38
FUNC_NORETURN
void
z_sys_poweroff(
void
);
39
41
52
FUNC_NORETURN
void
sys_poweroff
(
void
);
53
55
56
#ifdef __cplusplus
57
}
58
#endif
59
60
#endif
/* ZEPHYR_INCLUDE_SYS_POWEROFF_H_ */
sys_poweroff
FUNC_NORETURN void sys_poweroff(void)
Perform a system power off.
toolchain.h
Macros to abstract toolchain specific capabilities.
include
zephyr
sys
poweroff.h
Generated on
for Zephyr Project API by
1.16.1