41 #define TEMOD_I2C_DEV i2c0
45 #define TEMOD_TYPE TEMOD_I2C_R1
48 #define TEMOD_SLAVE_ADDR 0xF0
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
volatile uint8_t buf[I2C_BUF_LEN]
Transaction buffer With I2C_BUF_LEN number of bytes.
transaction successfully finished by I2C driver
void temod_periodic(void)
transaction set to done by user level
I2C transaction structure.
enum I2CTransactionStatus status
Transaction status.
#define DefaultChannel
SITL.
Common code for AP and FBW telemetry.
arch independent LED (Light Emitting Diodes) API
struct i2c_transaction tmd_trans
bool_t i2c_receive(struct i2c_periph *p, struct i2c_transaction *t, uint8_t s_addr, uint16_t len)
Submit a read only transaction.
Architecture independent I2C (Inter-Integrated Circuit Bus) API.