|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
35 #include "pprzlink/messages.h"
40 #ifndef ZERO_OFFSET_DEGREES
41 #define ZERO_OFFSET_DEGREES 45.
45 #define PCF_I2C_DEV i2c0
50 #ifndef PCF_SLAVE_ADDR
51 #define PCF_SLAVE_ADDR 0x40
volatile uint8_t buf[I2C_BUF_LEN]
Transaction buffer With I2C_BUF_LEN number of bytes.
void wind_gfi_event(void)
struct i2c_transaction pcf_trans
@ I2CTransSuccess
transaction successfully finished by I2C driver
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
bool i2c_transmit(struct i2c_periph *p, struct i2c_transaction *t, uint8_t s_addr, uint8_t len)
Submit a write only transaction.
enum I2CTransactionStatus status
Transaction status.
#define ZERO_OFFSET_DEGREES
arch independent LED (Light Emitting Diodes) API
I2C transaction structure.
Common code for AP and FBW telemetry.
void wind_gfi_periodic(void)
@ I2CTransDone
transaction set to done by user level
bool i2c_receive(struct i2c_periph *p, struct i2c_transaction *t, uint8_t s_addr, uint16_t len)
Submit a read only transaction.