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

Driver for the CC2538 VDD3 sensor. More...

Files

file  arch/cpu/cc2538/dev/vdd3-sensor.c
 Driver for the CC2538 VDD3 sensor.
file  arch/cpu/cc2538/dev/vdd3-sensor.h
 Header file for the CC2538 VDD3 Sensor Driver.

Variables

const struct sensors_sensor vdd3_sensor
 Exports global symbols for the sensor API.

Detailed Description

Driver for the CC2538 VDD3 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:

  • REMOTE_SENSORS_VALUE_TYPE_RAW (value() returns the raw reading)
  • REMOTE_SENSORS_VALUE_TYPE_CONVERTED (value() returns mV)