Zephyr Project API  3.3.0
A Scalable Open Source RTOS
pm_cpu_ops.h
Go to the documentation of this file.
1/*
2 * Copyright 2021 Carlo Caione <ccaione@baylibre.com>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DRIVERS_PM_CPU_OPS_H_
8#define ZEPHYR_INCLUDE_DRIVERS_PM_CPU_OPS_H_
9
15#include <zephyr/types.h>
16#include <stddef.h>
17#include <zephyr/device.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
37int pm_cpu_off(void);
38
52int pm_cpu_on(unsigned long cpuid, uintptr_t entry_point);
53
65int pm_system_off(void);
66
67#ifdef __cplusplus
68}
69#endif
70
75#endif /* ZEPHYR_INCLUDE_DRIVERS_PM_CPU_OPS_H_ */
int pm_cpu_on(unsigned long cpuid, uintptr_t entry_point)
Power up a core.
int pm_cpu_off(void)
Power down the calling core.
int pm_system_off(void)
Power down the system.
__UINTPTR_TYPE__ uintptr_t
Definition: stdint.h:105