Module temperature

Module temperature 

Source
Expand description

Optional temperature acquisition performed by the radio owner in standby.

Structs§

Lr1110Temperature
NoTemperature

Traits§

TemperatureSensor
A chip-specific acquisition hook. The runner serializes it with RX/TX, restores RX or sleep afterward, and never cancels an SPI transaction.

Functions§

from_lr1110_raw
Semtech’s nominal Vana=1.35 V, Vbe25=0.7295 V, slope=-1.7 mV/°C: https://github.com/Lora-net/SWDR001/blob/master/src/lr11xx_system.h Temp[10:0] is an ADC code, despite the pinned lora-phy get_temp comment. Use integer arithmetic and round once into 0.1 K, with ties upward.