APM:Libraries
|
#include <AP_InertialSensor_Invensense.h>
Public Member Functions | |
int | passthrough_read (uint8_t reg, uint8_t *buf, uint8_t size) override |
int | passthrough_write (uint8_t reg, uint8_t val) override |
int | read (uint8_t *buf) override |
Public Member Functions inherited from AuxiliaryBusSlave | |
virtual | ~AuxiliaryBusSlave () |
Protected Member Functions | |
AP_Invensense_AuxiliaryBusSlave (AuxiliaryBus &bus, uint8_t addr, uint8_t instance) | |
int | _set_passthrough (uint8_t reg, uint8_t size, uint8_t *out=nullptr) |
Protected Member Functions inherited from AuxiliaryBusSlave | |
AuxiliaryBusSlave (AuxiliaryBus &bus, uint8_t addr, uint8_t instance) | |
Private Attributes | |
const uint8_t | _mpu_addr |
const uint8_t | _mpu_reg |
const uint8_t | _mpu_ctrl |
const uint8_t | _mpu_do |
uint8_t | _ext_sens_data = 0 |
Friends | |
class | AP_Invensense_AuxiliaryBus |
Additional Inherited Members | |
Protected Attributes inherited from AuxiliaryBusSlave | |
AuxiliaryBus & | _bus |
uint8_t | _addr = 0 |
uint8_t | _instance = 0 |
uint8_t | _sample_reg_start = 0 |
uint8_t | _sample_size = 0 |
bool | _registered = false |
Definition at line 161 of file AP_InertialSensor_Invensense.h.
|
protected |
Definition at line 844 of file AP_InertialSensor_Invensense.cpp.
|
protected |
Definition at line 854 of file AP_InertialSensor_Invensense.cpp.
Referenced by AP_Invensense_AuxiliaryBus::_configure_periodic_read(), passthrough_read(), and passthrough_write().
|
overridevirtual |
Implements AuxiliaryBusSlave.
Definition at line 877 of file AP_InertialSensor_Invensense.cpp.
|
overridevirtual |
Implements AuxiliaryBusSlave.
Definition at line 906 of file AP_InertialSensor_Invensense.cpp.
|
overridevirtual |
Implements AuxiliaryBusSlave.
Definition at line 929 of file AP_InertialSensor_Invensense.cpp.
|
friend |
Definition at line 163 of file AP_InertialSensor_Invensense.h.
|
private |
Definition at line 181 of file AP_InertialSensor_Invensense.h.
Referenced by AP_Invensense_AuxiliaryBus::_configure_periodic_read(), passthrough_read(), and read().
|
private |
Definition at line 176 of file AP_InertialSensor_Invensense.h.
Referenced by _set_passthrough().
|
private |
Definition at line 178 of file AP_InertialSensor_Invensense.h.
Referenced by _set_passthrough(), passthrough_read(), and passthrough_write().
|
private |
Definition at line 179 of file AP_InertialSensor_Invensense.h.
Referenced by _set_passthrough().
|
private |
Definition at line 177 of file AP_InertialSensor_Invensense.h.
Referenced by _set_passthrough().