|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
24 #include "generated/airframe.h"
62 #include "pprzlink/messages.h"
74 if (send_nr >= ACTUATORS_MKK_V2_NB) {
117 #define BL_READMODE_CONFIG 16
118 #define config_mkk_v2_EEPROM_REVISION 2
121 #define RETURN_IF_NOT_KILLMODE() \
123 if (!actuators_delay_done) \
volatile uint8_t buf[I2C_BUF_LEN]
Transaction buffer With I2C_BUF_LEN number of bytes.
uint16_t len_r
Number of bytes to read/receive.
struct config_mkk_v2_struct config_mkk_v2
@ I2CTransTx
transmit only transaction
#define config_mkk_v2_EEPROM_REVISION
void config_mkk_v2_periodic_read_status(void)
@ I2CTransFailed
transaction failed
#define RETURN_IF_NOT_KILLMODE()
struct actuators_mkk_v2_telemetry_struct data[ACTUATORS_MKK_V2_NB]
void config_mkk_v2_periodic_telemetry(void)
config_mkk_v2_eeprom_t config_mkk_v2_eeprom
void config_mkk_v2_init(void)
uint8_t len_w
Number of bytes to write/transmit.
uint8_t config_mkk_v2_crc(uint8_t offset)
@ I2CTransSuccess
transaction successfully finished by I2C driver
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
void config_mkk_v2_read_eeprom(void)
struct i2c_transaction trans
void config_mkk_v2_parse_eeprom(void)
enum I2CTransactionStatus status
Transaction status.
struct actuators_mkk_v2_struct actuators_mkk_v2
@ I2CTransTxRx
transmit and receive transaction
Common code for AP and FBW telemetry.
uint8_t slave_addr
Slave address.
static const float offset[]
#define BL_READMODE_CONFIG
@ I2CTransDone
transaction set to done by user level
static bool i2c_submit(struct i2c_periph *p, struct i2c_transaction *t)
Submit a I2C transaction.
enum I2CTransactionType type
Transaction type.
void config_mkk_v2_send_eeprom(void)