5 #if CONFIG_HAL_BOARD == HAL_BOARD_PX4 7 #include <arch/board/board.h> 8 #include "board_config.h" 9 #include <drivers/device/i2c.h> 19 bool do_transfer(uint8_t address,
const uint8_t *send, uint32_t send_len, uint8_t *recv, uint32_t recv_len,
bool split_transfers);
42 #endif // CONFIG_HAL_BOARD
static pthread_mutex_t instance_lock
void set_retries(uint8_t retries)
static void init_lock(void)
bool do_transfer(uint8_t address, const uint8_t *send, uint32_t send_len, uint8_t *recv, uint32_t recv_len, bool split_transfers)
uint8_t map_bus_number(uint8_t bus) const
const AP_HAL::HAL & hal
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-