Helper class implementing the magnetometer driver node.
More...
#include <ak09916.hpp>
|
|
| AK09916 (int bus, const char *path, enum Rotation rotation) |
| |
|
virtual int | ioctl (struct file *filp, int cmd, unsigned long arg) |
| |
|
virtual int | init () |
| |
|
virtual ssize_t | read (struct file *filp, char *buffer, size_t buflen) |
| |
|
void | read_block (uint8_t reg, uint8_t *val, uint8_t count) |
| |
|
int | reset (void) |
| |
|
int | probe (void) |
| |
|
int | setup (void) |
| |
|
void | print_info (void) |
| |
|
int | setup_master_i2c (void) |
| |
|
bool | check_id (uint8_t &id) |
| |
|
void | start (void) |
| |
|
void | stop (void) |
| |
|
void | cycle (void) |
| |
|
|
static void | cycle_trampoline (void *arg) |
| |
|
|
void | measure () |
| |
|
void | _measure (struct ak09916_regs data) |
| |
|
uint8_t | read_reg (uint8_t reg) |
| |
|
void | write_reg (uint8_t reg, uint8_t value) |
| |
Helper class implementing the magnetometer driver node.
The documentation for this class was generated from the following files:
- src/drivers/magnetometer/ak09916/ak09916.hpp
- src/drivers/magnetometer/ak09916/ak09916.cpp