Function nrf_softdevice_s112::sd_temp_get
source · pub unsafe fn sd_temp_get(p_temp: *mut i32) -> u32
Expand description
@brief Get the temperature measured on the chip
This function will block until the temperature measurement is done. It takes around 50 us from call to return.
@param[out] p_temp Result of temperature measurement. Die temperature in 0.25 degrees Celsius.
@retval ::NRF_SUCCESS A temperature measurement was done, and the temperature was written to temp