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
hott.c File Reference

Single HOTT radio_control SUMD. More...

#include "subsystems/radio_control.h"
#include "subsystems/radio_control/hott.h"
#include <BOARD_CONFIG>
#include "subsystems/datalink/telemetry.h"
+ Include dependency graph for hott.c:

Go to the source code of this file.

Functions

static void send_hott (struct transport_tx *trans, struct link_device *dev)
 
void radio_control_impl_init (void)
 
static void hott_decode_event (void)
 
void radio_control_impl_event (void(*_received_frame_handler)(void))
 RC event function with handler callback. More...
 

Variables

struct SHott hott
 HOTT struct. More...
 

Detailed Description

Single HOTT radio_control SUMD.

Definition in file hott.c.

Function Documentation

static void hott_decode_event ( void  )
inlinestatic

Definition at line 61 of file hott.c.

References hott, and hott_common_decode_event().

Referenced by radio_control_impl_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void radio_control_impl_event ( void(*)(void)  _received_frame_handler)

RC event function with handler callback.

PPM frames are normalized using the IIR filter.

Definition at line 66 of file hott.c.

void radio_control_impl_init ( void  )

Definition at line 48 of file hott.c.

References DefaultPeriodic, hott, hott_common_init(), register_periodic_telemetry(), and send_hott().

+ Here is the call graph for this function:

static void send_hott ( struct transport_tx *  trans,
struct link_device *  dev 
)
static

Definition at line 39 of file hott.c.

References RadioControl::frame_rate, hott, HOTT_NB_CHANNEL, SHott::ppm, and radio_control.

Referenced by radio_control_impl_init().

+ Here is the caller graph for this function:

Variable Documentation

struct SHott hott

HOTT struct.

Definition at line 33 of file hott.c.

Referenced by hott_decode_event(), radio_control_impl_event(), radio_control_impl_init(), and send_hott().