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