|
APM:Libraries
|
#include <I2CDevice.h>
Public Member Functions | |
| void | dma_allocate (Shared_DMA *) |
| void | dma_deallocate (Shared_DMA *) |
| void | dma_init (void) |
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) |
Static Public Member Functions | |
| static void | clear_all (void) |
| static void | clear_bus (ioline_t scl_line, uint8_t scl_af) |
Static Public Member Functions inherited from ChibiOS::DeviceBus | |
| static void | bus_thread (void *arg) |
Public Attributes | |
| I2CConfig | i2ccfg |
| uint8_t | busnum |
| uint32_t | busclock |
| bool | i2c_started |
| bool | i2c_active |
Public Attributes inherited from ChibiOS::DeviceBus | |
| struct DeviceBus * | next |
| Semaphore | semaphore |
| Shared_DMA * | dma_handle |
Definition at line 35 of file I2CDevice.h.
|
static |
Definition at line 61 of file I2CDevice.cpp.
Referenced by THD_FUNCTION().
|
static |
| void I2CBus::dma_allocate | ( | Shared_DMA * | ctx | ) |
Definition at line 161 of file I2CDevice.cpp.
| void I2CBus::dma_deallocate | ( | Shared_DMA * | ) |
Definition at line 174 of file I2CDevice.cpp.
| void I2CBus::dma_init | ( | void | ) |
Definition at line 53 of file I2CDevice.cpp.
| uint32_t ChibiOS::I2CBus::busclock |
Definition at line 39 of file I2CDevice.h.
Referenced by ChibiOS::I2CDevice::_transfer(), and ChibiOS::I2CDevice::I2CDevice().
| uint8_t ChibiOS::I2CBus::busnum |
Definition at line 38 of file I2CDevice.h.
Referenced by ChibiOS::I2CDevice::_transfer(), and ChibiOS::I2CDevice::~I2CDevice().
| bool ChibiOS::I2CBus::i2c_active |
Definition at line 41 of file I2CDevice.h.
Referenced by ChibiOS::I2CDevice::_transfer().
| bool ChibiOS::I2CBus::i2c_started |
Definition at line 40 of file I2CDevice.h.
| I2CConfig ChibiOS::I2CBus::i2ccfg |
Definition at line 37 of file I2CDevice.h.
Referenced by ChibiOS::I2CDevice::_transfer(), ChibiOS::I2CDevice::I2CDevice(), and ChibiOS::I2CDevice::transfer().
1.8.13