Zephyr Project API 4.0.0
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
7#ifndef ZEPHYR_INCLUDE_SYS_POWEROFF_H_
8#define ZEPHYR_INCLUDE_SYS_POWEROFF_H_
9
10#include <zephyr/toolchain.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
30FUNC_NORETURN void z_sys_poweroff(void);
31
44FUNC_NORETURN void sys_poweroff(void);
45
48#ifdef __cplusplus
49}
50#endif
51
52#endif /* ZEPHYR_INCLUDE_SYS_POWEROFF_H_ */
FUNC_NORETURN void sys_poweroff(void)
Perform a system power off.
Macros to abstract toolchain specific capabilities.