Contiki-NG
Functions

Header file for the Sensortag Common sensor utilities. More...

#include "board-i2c.h"
#include <stdbool.h>
#include <stdint.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

Header file for the Sensortag Common sensor utilities.

Definition in file sensor-common.h.