Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
config_mkk_v2.c File Reference
#include "config_mkk_v2.h"
#include "generated/airframe.h"
#include "subsystems/actuators.h"
#include "subsystems/actuators/actuators_mkk_v2.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "subsystems/datalink/downlink.h"
+ Include dependency graph for config_mkk_v2.c:

Go to the source code of this file.

Macros

#define BL_READMODE_CONFIG   16
 
#define config_mkk_v2_EEPROM_REVISION   2
 
#define RETURN_IF_NOT_KILLMODE()
 

Functions

void config_mkk_v2_parse_eeprom (void)
 
void config_mkk_v2_init (void)
 
void config_mkk_v2_periodic_read_status (void)
 
void config_mkk_v2_periodic_telemetry (void)
 
uint8_t config_mkk_v2_crc (uint8_t offset)
 
void config_mkk_v2_read_eeprom (void)
 
void config_mkk_v2_send_eeprom (void)
 

Variables

struct config_mkk_v2_struct config_mkk_v2
 
config_mkk_v2_eeprom_t config_mkk_v2_eeprom
 

Macro Definition Documentation

◆ BL_READMODE_CONFIG

#define BL_READMODE_CONFIG   16

Definition at line 117 of file config_mkk_v2.c.

◆ config_mkk_v2_EEPROM_REVISION

#define config_mkk_v2_EEPROM_REVISION   2

Definition at line 118 of file config_mkk_v2.c.

◆ RETURN_IF_NOT_KILLMODE

#define RETURN_IF_NOT_KILLMODE ( )
Value:
{ \
if (!actuators_delay_done) \
return; \
}

Definition at line 121 of file config_mkk_v2.c.

Function Documentation

◆ config_mkk_v2_crc()

uint8_t config_mkk_v2_crc ( uint8_t  offset)

Definition at line 104 of file config_mkk_v2.c.

References i2c_transaction::buf, config_mkk_v2, crc, offset, and config_mkk_v2_struct::trans.

Referenced by config_mkk_v2_parse_eeprom(), and config_mkk_v2_send_eeprom().

+ Here is the caller graph for this function:

◆ config_mkk_v2_init()

◆ config_mkk_v2_parse_eeprom()

◆ config_mkk_v2_periodic_read_status()

void config_mkk_v2_periodic_read_status ( void  )

◆ config_mkk_v2_periodic_telemetry()

◆ config_mkk_v2_read_eeprom()

◆ config_mkk_v2_send_eeprom()

Variable Documentation

◆ config_mkk_v2

◆ config_mkk_v2_eeprom

config_mkk_v2_eeprom_t config_mkk_v2_eeprom

Definition at line 114 of file config_mkk_v2.c.

Referenced by config_mkk_v2_parse_eeprom(), and config_mkk_v2_send_eeprom().