Zephyr API Documentation
4.0.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
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
44
FUNC_NORETURN
void
sys_poweroff
(
void
);
45
48
#ifdef __cplusplus
49
}
50
#endif
51
52
#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 Mon Nov 18 2024 03:14:08 for Zephyr API Documentation by
1.12.0