50 RM3100_constructor interface_constructor;
54 #ifdef PX4_I2C_BUS_EXPANSION 55 { RM3100_BUS_I2C_EXTERNAL,
"/dev/rm3100_ext", &RM3100_I2C_interface, PX4_I2C_BUS_EXPANSION, NULL },
57 #ifdef PX4_I2C_BUS_EXPANSION1 58 { RM3100_BUS_I2C_EXTERNAL,
"/dev/rm3100_ext1", &RM3100_I2C_interface, PX4_I2C_BUS_EXPANSION1, NULL },
60 #ifdef PX4_I2C_BUS_EXPANSION2 61 { RM3100_BUS_I2C_EXTERNAL,
"/dev/rm3100_ext2", &RM3100_I2C_interface, PX4_I2C_BUS_EXPANSION2, NULL },
63 #ifdef PX4_I2C_BUS_ONBOARD 64 { RM3100_BUS_I2C_INTERNAL,
"/dev/rm3100_int", &RM3100_I2C_interface, PX4_I2C_BUS_ONBOARD, NULL },
67 { RM3100_BUS_SPI_INTERNAL,
"/dev/rm3100_spi_int", &RM3100_SPI_interface, PX4_SPI_BUS_SENSORS, NULL },
69 #ifdef PX4_SPIDEV_RM_EXT 70 { RM3100_BUS_SPI_EXTERNAL,
"/dev/rm3100_spi_ext", &RM3100_SPI_interface, PX4_SPI_BUS_EXT, NULL },
82 int info(RM3100_BUS bus_id);
87 bool init(RM3100_BUS bus_id);
92 bool reset(RM3100_BUS bus_id);
103 int start(RM3100_BUS bus_id,
Rotation rotation);
115 bool test(RM3100_BUS bus_id);
Definition: rm3100_main.h:42
Rotation
Enum for board and external compass rotations.
Definition: rotation.h:51
Definition: rm3100_main.h:47
Shared defines for the RM3100 driver.