#include <I2CWrapper.h>
|
| PX4_I2C (uint8_t bus) |
|
bool | do_transfer (uint8_t address, const uint8_t *send, uint32_t send_len, uint8_t *recv, uint32_t recv_len, bool split_transfers) |
|
void | set_retries (uint8_t retries) |
|
uint8_t | map_bus_number (uint8_t bus) const |
|
Definition at line 16 of file I2CWrapper.h.
◆ PX4_I2C()
PX4::PX4_I2C::PX4_I2C |
( |
uint8_t |
bus | ) |
|
◆ do_transfer()
bool PX4::PX4_I2C::do_transfer |
( |
uint8_t |
address, |
|
|
const uint8_t * |
send, |
|
|
uint32_t |
send_len, |
|
|
uint8_t * |
recv, |
|
|
uint32_t |
recv_len, |
|
|
bool |
split_transfers |
|
) |
| |
◆ init_lock()
static void PX4::PX4_I2C::init_lock |
( |
void |
| ) |
|
|
inlinestatic |
◆ map_bus_number()
uint8_t PX4::PX4_I2C::map_bus_number |
( |
uint8_t |
bus | ) |
const |
◆ set_retries()
void PX4::PX4_I2C::set_retries |
( |
uint8_t |
retries | ) |
|
|
inline |
◆ devname
char PX4::PX4_I2C::devname[11] |
|
private |
◆ devpath
char PX4::PX4_I2C::devpath[15] |
|
private |
◆ init_done
bool PX4::PX4_I2C::init_done |
|
private |
◆ init_ok
bool PX4::PX4_I2C::init_ok |
|
private |
◆ instance
uint8_t PX4::PX4_I2C::instance |
|
staticprivate |
◆ instance_lock
pthread_mutex_t PX4::PX4_I2C::instance_lock |
|
staticprivate |
The documentation for this class was generated from the following files: