44 #define ADDR_ID_A 0x0a 45 #define ADDR_ID_B 0x0b 46 #define ADDR_ID_C 0x0c 48 #define ID_A_WHO_AM_I 'H' 49 #define ID_B_WHO_AM_I '4' 50 #define ID_C_WHO_AM_I '3' Definitions for the generic base classes in the device framework.
device::Device * HMC5883_I2C_interface(int bus)
device::Device * HMC5883_SPI_interface(int bus)
Fundamental base class for all physical drivers (I2C, SPI).