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
spektrum_soft_bind_ap.c File Reference
#include "modules/spektrum_soft_bind/spektrum_soft_bind_ap.h"
#include "subsystems/intermcu/intermcu_ap.h"
#include "led.h"
#include "mcu.h"
#include "subsystems/radio_control.h"
#include "mcu_periph/sys_time_arch.h"
#include "mcu_periph/gpio.h"
+ Include dependency graph for spektrum_soft_bind_ap.c:

Go to the source code of this file.

Functions

void spektrum_soft_bind_init (void)
 
void spektrum_soft_bind_click (bool val)
 
void send_spektrum_bind (void)
 

Variables

bool bind_soft_value
 

Detailed Description

Author
Kevin van Hecke Puts Spektrum in binding mode through software

Definition in file spektrum_soft_bind_ap.c.

Function Documentation

void send_spektrum_bind ( void  )

Definition at line 52 of file spektrum_soft_bind_ap.c.

References LED_OFF, LED_ON, RADIO_CONTROL_POWER_OFF, RADIO_CONTROL_POWER_ON, RADIO_CONTROL_POWER_PIN, RADIO_CONTROL_POWER_PORT, SpektrumUartInit(), and sys_time_usleep().

Referenced by spektrum_soft_bind_click().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void spektrum_soft_bind_click ( bool  val)

Definition at line 41 of file spektrum_soft_bind_ap.c.

References bind_soft_value, intermcu_send_spektrum_bind(), send_spektrum_bind(), and val.

+ Here is the call graph for this function:

void spektrum_soft_bind_init ( void  )

Definition at line 36 of file spektrum_soft_bind_ap.c.

Variable Documentation

bool bind_soft_value

Definition at line 40 of file spektrum_soft_bind_ap.c.

Referenced by spektrum_soft_bind_click().