Struct nrf52810_hal::Temp [−][src]
pub struct Temp(_);
Expand description
Integrated temperature sensor.
Implementations
Creates a new Temp
, taking ownership of the temperature sensor’s register block.
Starts a new measurement and blocks until completion.
If a measurement was already started, it will be canceled.
Kicks off a temperature measurement.
The measurement can be retrieved by calling read
.
Cancels an in-progress temperature measurement.