Zephyr Project API
3.2.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
20
extern
"C"
{
21
#endif
22
37
int
pm_cpu_off
(
void
);
38
52
int
pm_cpu_on
(
unsigned
long
cpuid,
uintptr_t
entry_point);
53
54
55
#ifdef __cplusplus
56
}
57
#endif
58
63
#endif
/* ZEPHYR_INCLUDE_DRIVERS_PM_CPU_OPS_H_ */
device.h
pm_cpu_on
int pm_cpu_on(unsigned long cpuid, uintptr_t entry_point)
Power up a core.
pm_cpu_off
int pm_cpu_off(void)
Power down the calling core.
types.h
uintptr_t
__UINTPTR_TYPE__ uintptr_t
Definition:
stdint.h:105
include
zephyr
drivers
pm_cpu_ops.h
Generated on Tue Feb 28 2023 15:43:18 for Zephyr Project API by
1.9.2