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
/*---------------------------------------------------------------------------*/
15
void
16
nrf_802154_temperature_init(
void
)
17
{
18
/* Nothing to do. */
19
}
20
/*---------------------------------------------------------------------------*/
21
void
22
nrf_802154_temperature_deinit(
void
)
23
{
24
/* Nothing to do. */
25
}
26
/*---------------------------------------------------------------------------*/
27
int8_t
28
nrf_802154_temperature_get(
void
)
29
{
30
return
20;
/* Fixed 20 degrees Celsius */
31
}
32
/*---------------------------------------------------------------------------*/
arch
cpu
nrf
nrf54l15
nrf_802154_platform_temperature.c
Generated on Wed Jun 3 2026 15:14:14 for Contiki-NG by
1.10.0