APM:Libraries
|
#include <SPIDevice.h>
Public Member Functions | |
SPIBus (void) | |
![]() | |
DeviceBus (uint8_t _thread_priority=APM_I2C_PRIORITY) | |
AP_HAL::Device::PeriodicHandle | register_periodic_callback (uint32_t period_usec, AP_HAL::Device::PeriodicCb, AP_HAL::Device *hal_device) |
bool | adjust_timer (AP_HAL::Device::PeriodicHandle h, uint32_t period_usec) |
Public Attributes | |
struct spi_dev_s * | dev |
uint8_t | bus |
![]() | |
struct DeviceBus * | next |
Semaphore | semaphore |
Additional Inherited Members | |
![]() | |
static void * | bus_thread (void *arg) |
Definition at line 29 of file SPIDevice.h.
|
inline |
Definition at line 31 of file SPIDevice.h.
uint8_t PX4::SPIBus::bus |
Definition at line 34 of file SPIDevice.h.
Referenced by PX4::SPIDeviceManager::get_device(), PX4::SPIDevice::SPIDevice(), and PX4::SPIDevice::~SPIDevice().
struct spi_dev_s* PX4::SPIBus::dev |
Definition at line 33 of file SPIDevice.h.
Referenced by PX4::SPIDevice::do_transfer(), PX4::SPIDeviceManager::get_device(), PX4::SPIDevice::set_chip_select(), and PX4::SPIDevice::SPIDevice().