Contiki-NG
Functions

Utilities common among SensorTag sensors. More...

#include "sensor-common.h"
#include "board-i2c.h"

Go to the source code of this file.

Functions

bool sensor_common_read_reg (uint8_t addr, uint8_t *buf, uint8_t len)
 Reads a sensor's register over I2C. More...
 
bool sensor_common_write_reg (uint8_t addr, uint8_t *buf, uint8_t len)
 Write to a sensor's register over I2C. More...
 
void sensor_common_set_error_data (uint8_t *buf, uint8_t len)
 Fill a result buffer with dummy error data. More...
 

Detailed Description

Utilities common among SensorTag sensors.

Definition in file sensor-common.c.