APM:Libraries
|
#include <AuxiliaryBus.h>
Public Member Functions | |
virtual | ~AuxiliaryBusSlave () |
virtual int | passthrough_read (uint8_t reg, uint8_t *buf, uint8_t size)=0 |
virtual int | passthrough_write (uint8_t reg, uint8_t val)=0 |
virtual int | read (uint8_t *buf)=0 |
Protected Member Functions | |
AuxiliaryBusSlave (AuxiliaryBus &bus, uint8_t addr, uint8_t instance) | |
Protected Attributes | |
AuxiliaryBus & | _bus |
uint8_t | _addr = 0 |
uint8_t | _instance = 0 |
uint8_t | _sample_reg_start = 0 |
uint8_t | _sample_size = 0 |
bool | _registered = false |
Friends | |
class | AuxiliaryBus |
Definition at line 30 of file AuxiliaryBus.h.
|
virtual |
Definition at line 15 of file AuxiliaryBus.cpp.
|
protected |
Definition at line 7 of file AuxiliaryBus.cpp.
|
pure virtual |
Implemented in AP_Invensense_AuxiliaryBusSlave.
|
pure virtual |
Implemented in AP_Invensense_AuxiliaryBusSlave.
|
pure virtual |
Implemented in AP_Invensense_AuxiliaryBusSlave.
|
friend |
Definition at line 32 of file AuxiliaryBus.h.
|
protected |
Definition at line 86 of file AuxiliaryBus.h.
Referenced by AP_Invensense_AuxiliaryBusSlave::_set_passthrough().
|
protected |
Definition at line 85 of file AuxiliaryBus.h.
Referenced by AP_Invensense_AuxiliaryBusSlave::_set_passthrough(), AP_Invensense_AuxiliaryBusSlave::passthrough_read(), AP_Invensense_AuxiliaryBusSlave::passthrough_write(), and AP_Invensense_AuxiliaryBusSlave::read().
|
protected |
Definition at line 87 of file AuxiliaryBus.h.
Referenced by AuxiliaryBus::register_periodic_read().
|
protected |
Definition at line 92 of file AuxiliaryBus.h.
Referenced by AP_Invensense_AuxiliaryBusSlave::passthrough_read(), AP_Invensense_AuxiliaryBusSlave::passthrough_write(), AP_Invensense_AuxiliaryBusSlave::read(), and AuxiliaryBus::register_periodic_read().
|
protected |
Definition at line 89 of file AuxiliaryBus.h.
Referenced by AuxiliaryBus::register_periodic_read().
|
protected |
Definition at line 90 of file AuxiliaryBus.h.
Referenced by AP_Invensense_AuxiliaryBusSlave::read(), and AuxiliaryBus::register_periodic_read().