nRF Connect SDK API 3.4.99
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
29extern "C" {
30#endif
31
48
54
55#if defined(CONFIG_NRF71_IDLE_DIAGNOSTICS)
56
66void nrf71_idle_power_print_snapshot(const char *phase);
67
68#else
69
70static 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__ */
void nrf71_idle_power_resume_console(void)
Resume the console/UART device suspended by nrf71_idle_power_suspend_console().
static void nrf71_idle_power_print_snapshot(const char *phase)
Definition nrf71_idle_power.h:70
void nrf71_idle_power_suspend_console(void)
Suspend the console/UART device to cut idle current.