|
| SPIDevice () |
|
virtual | ~SPIDevice () |
|
bool | set_speed (AP_HAL::Device::Speed speed) override |
|
bool | transfer (const uint8_t *send, uint32_t send_len, uint8_t *recv, uint32_t recv_len) override |
|
bool | transfer_fullduplex (const uint8_t *send, uint8_t *recv, uint32_t len) override |
|
AP_HAL::Semaphore * | get_semaphore () |
|
AP_HAL::Device::PeriodicHandle | register_periodic_callback (uint32_t period_usec, AP_HAL::Device::PeriodicCb) override |
|
| SPIDevice () |
|
virtual bool | clock_pulse (uint32_t len) |
|
virtual Device::PeriodicHandle | register_periodic_callback (uint32_t period_usec, Device::PeriodicCb) override=0 |
|
virtual bool | adjust_periodic_callback (PeriodicHandle h, uint32_t period_usec) override |
|
| FUNCTOR_TYPEDEF (PeriodicCb, void) |
|
| Device (enum BusType type) |
|
enum BusType | bus_type (void) const |
|
uint8_t | bus_num (void) const |
|
uint32_t | get_bus_id (void) const |
|
uint8_t | get_bus_address (void) const |
|
void | set_device_type (uint8_t devtype) |
|
virtual | ~Device () |
|
virtual void | set_address (uint8_t address) |
|
bool | read_registers (uint8_t first_reg, uint8_t *recv, uint32_t recv_len) |
|
bool | write_register (uint8_t reg, uint8_t val, bool checked=false) |
|
void | set_checked_register (uint8_t reg, uint8_t val) |
|
bool | setup_checked_registers (uint8_t num_regs, uint8_t frequency=10) |
|
bool | check_next_register (void) |
|
bool | read (uint8_t *recv, uint32_t recv_len) |
|
virtual PeriodicHandle | register_periodic_callback (uint32_t period_usec, PeriodicCb)=0 |
|
virtual bool | unregister_callback (PeriodicHandle h) |
|
virtual void | register_completion_callback (AP_HAL::MemberProc proc) |
|
virtual void | register_completion_callback (AP_HAL::Proc proc) |
|
virtual bool | set_chip_select (bool set) |
|
void | set_read_flag (uint8_t flag) |
|
uint32_t | get_bus_id_devtype (uint8_t devtype) |
|
virtual void | set_retries (uint8_t retries) |
|
Definition at line 28 of file SPIDevice.h.