54 #ifdef PX4_I2C_BUS_EXPANSION 57 #ifdef PX4_I2C_BUS_EXPANSION1 60 #ifdef PX4_I2C_BUS_EXPANSION2 63 #ifdef PX4_I2C_BUS_ONBOARD 69 #ifdef PX4_SPIDEV_RM_EXT
device::Device * RM3100_I2C_interface(int bus)
struct rm3100::rm3100_bus_option bus_options[]
bool start_bus(struct rm3100_bus_option &bus, Rotation rotation)
Starts the driver for a specific bus option.
device::Device *(* RM3100_constructor)(int)
bool init(RM3100_BUS bus_id)
Initializes the driver – sets defaults and starts a cycle.
RM3100_constructor interface_constructor
int start(RM3100_BUS bus_id, Rotation rotation)
Starts the driver.
Rotation
Enum for board and external compass rotations.
void usage()
Prints info about the driver argument usage.
int info(RM3100_BUS bus_id)
Prints info about the driver.
bool test(RM3100_BUS bus_id)
Perform some basic functional tests on the driver; make sure we can collect data from the sensor in p...
int stop()
Stop the driver.
rm3100_bus_option & find_bus(RM3100_BUS bus_id)
Finds a bus structure for a bus_id.
bool reset(RM3100_BUS bus_id)
Resets the driver.
Shared defines for the RM3100 driver.
device::Device * RM3100_SPI_interface(int bus)