Zephyr API Documentation
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
13
extern
"C"
{
14
#endif
15
30
FUNC_NORETURN
void
z_sys_poweroff(
void
);
31
46
FUNC_NORETURN
void
sys_poweroff
(
void
);
47
50
#ifdef __cplusplus
51
}
52
#endif
53
54
#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 Fri Jul 26 2024 14:01:58 for Zephyr API Documentation by
1.9.6