The friendly Operating System for the Internet of Things

Device descriptor for MAG3110 magnetometer. More...

Detailed Description

Definition at line 83 of file mag3110.h.

#include <mag3110.h>

Data Fields

i2c_t i2c
 I2C device, the magnetometer is connected to.
uint8_t addr
 the magnetometer's slave address on the I2C bus
bool initialized
 magnetometer status, true if magnetometer is initialized

The documentation for this struct was generated from the following file: