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
19extern "C" {
20#endif
21
29
31
38FUNC_NORETURN void z_sys_poweroff(void);
39
41
52FUNC_NORETURN void sys_poweroff(void);
53
55
56#ifdef __cplusplus
57}
58#endif
59
60#endif /* ZEPHYR_INCLUDE_SYS_POWEROFF_H_ */
FUNC_NORETURN void sys_poweroff(void)
Perform a system power off.
Macros to abstract toolchain specific capabilities.