Zephyr API Documentation
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
27
29
36
FUNC_NORETURN
void
z_sys_poweroff(
void
);
37
39
50
FUNC_NORETURN
void
sys_poweroff
(
void
);
51
53
54
#ifdef __cplusplus
55
}
56
#endif
57
58
#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.
zephyr
sys
poweroff.h
Generated on
for Zephyr API Documentation by
1.16.1