nrfxlib API 3.3.99
Loading...
Searching...
No Matches
mpsl_rtc_protocol_api.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef MPSL_RTC_PROTOCOL_API_H__
8#define MPSL_RTC_PROTOCOL_API_H__
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#include <stdbool.h>
15#include <stdint.h>
16
17/* @brief Enable monotonic mode.
18 *
19 * @note Only applicable to platforms with RTC as GRTC is inherently monotonic.
20 *
21 * @param[in] ppi_channel user-provided ppi channel.
22 */
23void mpsl_rtc_monotonic_mode_enable(uint8_t ppi_channel);
24
25/* @brief Whether MPSL is running in monotic mode. */
27
28#ifdef __cplusplus
29}
30#endif
31
32#endif /* MPSL_RTC_PROTOCOL_API_H__ */
bool mpsl_rtc_monotonic_mode_is_enabled(void)
void mpsl_rtc_monotonic_mode_enable(uint8_t ppi_channel)