Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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

#define BL_READMODE_CONFIG   16

Definition at line 117 of file config_mkk_v2.c.

Referenced by config_mkk_v2_read_eeprom(), and config_mkk_v2_send_eeprom().

#define config_mkk_v2_EEPROM_REVISION   2

Definition at line 118 of file config_mkk_v2.c.

Referenced by config_mkk_v2_send_eeprom().

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

Definition at line 121 of file config_mkk_v2.c.

Referenced by config_mkk_v2_read_eeprom(), and config_mkk_v2_send_eeprom().

Function Documentation

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, 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:

void config_mkk_v2_periodic_read_status ( void  )

Variable Documentation

config_mkk_v2_eeprom_t config_mkk_v2_eeprom

Definition at line 114 of file config_mkk_v2.c.