Zephyr Project API 3.7.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
46FUNC_NORETURN void sys_poweroff(void);
47
50#ifdef __cplusplus
51}
52#endif
53
54#endif /* ZEPHYR_INCLUDE_SYS_POWEROFF_H_ */
FUNC_NORETURN void sys_poweroff(void)
Perform a system power off.
Macros to abstract toolchain specific capabilities.