nrfxlib API 3.4.99
Loading...
Searching...
No Matches
mpsl_temp.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
16
17#ifndef MPSL_TEMP_H__
18#define MPSL_TEMP_H__
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24#include <stdint.h>
25
27#define MPSL_TEMPERATURE_INVALID INT32_MIN
28
41
47
48#ifdef __cplusplus
49}
50#endif
51
52#endif // MPSL_TEMP_H__
53
int32_t mpsl_temperature_get(void)
Get the temperature measured on the chip.
int32_t mpsl_temperature_last_get(void)
Get the die temperature from the last mpsl_temperature_get call.