Contiki-NG
Loading...
Searching...
No Matches

Topics

 CC2538 VDD3 Sensor
 
 
 CC2538 on-chip temperature Sensor
 
 

Files

file  cc2538-sensors.h
 Generic header usable by all CC2538 sensor drivers.
 

CC2538 sensor constants

These constants are used by various sensors on the CC2538.

They can be used to differentiate between raw and converted readings, to configure ADC decimation rate (where applicable).

#define CC2538_SENSORS_VALUE_TYPE_RAW   0
 Request the raw reading.
 
#define CC2538_SENSORS_VALUE_TYPE_CONVERTED   1
 Request the converted reading.
 
#define CC2538_SENSORS_ERROR   0x80000000
 Generic Error.
 

Detailed Description

Module controlling sensors on the CC2538 SoC (Tmp and VDD3)