API for temperature sensor in nrf51822

Dependents:   BLE_TemperatureAdvertising BLE_TemperatureObserver TEMP_YM2

Embed: (wiki syntax)

« Back to documentation index

TMP_nrf51 Class Reference

TMP_nrf51 Class Reference

Library for the nrf51822 internal temperature sensor. More...

#include <TMP_nrf51.h>

Public Types

typedef float tmpSensorValue_t
 use default constructor and destructor.

Public Member Functions

tmpSensorValue_t get ()
 Get the temperature value.

Detailed Description

Library for the nrf51822 internal temperature sensor.

Definition at line 25 of file TMP_nrf51.h.


Member Typedef Documentation

typedef float tmpSensorValue_t

use default constructor and destructor.

Sensor value type.

Definition at line 31 of file TMP_nrf51.h.


Member Function Documentation

Get the temperature value.

Returns:
Die temperature in °C.
Die temperature in °C

Definition at line 27 of file TMP_nrf51.cpp.