nRF Connect SDK API
3.4.99
Toggle main menu visibility
Loading...
Searching...
No Matches
nrf71_idle_power.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2026 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
10
11
#ifndef NRF71_IDLE_POWER_H__
12
#define NRF71_IDLE_POWER_H__
13
14
#include <zephyr/kernel.h>
15
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
47
void
nrf71_idle_power_suspend_console
(
void
);
48
53
void
nrf71_idle_power_resume_console
(
void
);
54
55
#if defined(CONFIG_NRF71_IDLE_DIAGNOSTICS)
56
66
void
nrf71_idle_power_print_snapshot
(
const
char
*phase);
67
68
#else
69
70
static
inline
void
nrf71_idle_power_print_snapshot
(
const
char
*phase)
71
{
72
ARG_UNUSED(phase);
73
}
74
75
#endif
/* CONFIG_NRF71_IDLE_DIAGNOSTICS */
76
77
#ifdef __cplusplus
78
}
79
#endif
80
84
85
#endif
/* NRF71_IDLE_POWER_H__ */
nrf71_idle_power_resume_console
void nrf71_idle_power_resume_console(void)
Resume the console/UART device suspended by nrf71_idle_power_suspend_console().
nrf71_idle_power_print_snapshot
static void nrf71_idle_power_print_snapshot(const char *phase)
Definition
nrf71_idle_power.h:70
nrf71_idle_power_suspend_console
void nrf71_idle_power_suspend_console(void)
Suspend the console/UART device to cut idle current.
include
nrf71_idle_power.h
Generated on
for nRF Connect SDK API by
1.17.0