Contiki-NG
Loading...
Searching...
No Matches
nrf_802154_platform_temperature.c
1/*
2 * Copyright (c) 2026, RISE Research Institutes of Sweden AB
3 * All rights reserved.
4 *
5 * Author: Joakim Eriksson <joakim.eriksson@ri.se>
6 *
7 * SPDX-License-Identifier: BSD-3-Clause
8 *
9 * Temperature platform for nrf_802154 on nRF54L15.
10 * Returns a fixed 20 C initially; can be improved to read TEMP peripheral.
11 */
12
13#include "platform/nrf_802154_temperature.h"
14/*---------------------------------------------------------------------------*/
15void
16nrf_802154_temperature_init(void)
17{
18 /* Nothing to do. */
19}
20/*---------------------------------------------------------------------------*/
21void
22nrf_802154_temperature_deinit(void)
23{
24 /* Nothing to do. */
25}
26/*---------------------------------------------------------------------------*/
27int8_t
28nrf_802154_temperature_get(void)
29{
30 return 20; /* Fixed 20 degrees Celsius */
31}
32/*---------------------------------------------------------------------------*/