|
APM:Libraries
|
#include <SPIDevice.h>
Public Member Functions | |
| SPIBus (uint8_t bus) | |
| void | dma_allocate (Shared_DMA *ctx) |
| void | dma_deallocate (Shared_DMA *ctx) |
Public Member Functions inherited from ChibiOS::DeviceBus | |
| 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) |
| void | bouncebuffer_setup (const uint8_t *&buf_tx, uint16_t tx_len, uint8_t *&buf_rx, uint16_t rx_len) |
| void | bouncebuffer_setup_tx (const uint8_t *&buf_tx, uint16_t tx_len) |
| void | bouncebuffer_setup_rx (uint8_t *&buf_rx, uint16_t rx_len) |
| void | bouncebuffer_rx_copy (uint8_t *buf_rx, uint16_t rx_len) |
Public Attributes | |
| struct spi_dev_s * | dev |
| uint8_t | bus |
| SPIConfig | spicfg |
| bool | spi_started |
Public Attributes inherited from ChibiOS::DeviceBus | |
| struct DeviceBus * | next |
| Semaphore | semaphore |
| Shared_DMA * | dma_handle |
Additional Inherited Members | |
Static Public Member Functions inherited from ChibiOS::DeviceBus | |
| static void | bus_thread (void *arg) |
Definition at line 28 of file SPIDevice.h.
| SPIBus::SPIBus | ( | uint8_t | bus | ) |
| void SPIBus::dma_allocate | ( | Shared_DMA * | ctx | ) |
Definition at line 72 of file SPIDevice.cpp.
Referenced by SPIBus().
| void SPIBus::dma_deallocate | ( | Shared_DMA * | ctx | ) |
Definition at line 80 of file SPIDevice.cpp.
Referenced by SPIBus().
| uint8_t ChibiOS::SPIBus::bus |
Definition at line 32 of file SPIDevice.h.
Referenced by dma_deallocate(), ChibiOS::SPIDeviceManager::get_device(), SPIBus(), and ChibiOS::SPIDevice::SPIDevice().
| struct spi_dev_s* ChibiOS::SPIBus::dev |
Definition at line 31 of file SPIDevice.h.
| bool ChibiOS::SPIBus::spi_started |
Definition at line 36 of file SPIDevice.h.
Referenced by ChibiOS::SPIDevice::acquire_bus(), and dma_deallocate().
| SPIConfig ChibiOS::SPIBus::spicfg |
Definition at line 33 of file SPIDevice.h.
Referenced by ChibiOS::SPIDevice::acquire_bus().
1.8.13