Contiki-NG
Files | Variables

Driver for the CC2538 on-chip temperature sensor. More...

Files

file  cc2538-temp-sensor.c
 Driver for the CC2538 On-Chip temperature sensor.
 
file  cc2538-temp-sensor.h
 Header file for the CC2538 on-chip temperature Sensor Driver.
 

Variables

const struct sensors_sensor cc2538_temp_sensor
 Exports a global symbol to be used by the sensor API.
 

temperature sensor

#define TEMP_SENSOR   "On-Chip Temperature"
 

Detailed Description

Driver for the CC2538 on-chip temperature sensor.

This driver can return the raw as well as the converted value of the sensor reading. This is controlled by the type argument of the sensor driver's value() function. The choices for the type argument are: