APM:Libraries
Macros | Functions | Variables
RCInput.cpp File Reference
#include <AP_HAL/HAL.h>
#include <AP_Param_Helper/AP_Param_Helper.h>
#include <exti.h>
#include <timer.h>
#include "RCInput.h"
#include <pwm_in.h>
#include <AP_HAL/utility/dsm.h>
#include "sbus.h"
#include "GPIO.h"
#include "ring_buffer_pulse.h"
#include "RC_PPM_parser.h"
Include dependency graph for RCInput.cpp:

Go to the source code of this file.

Macros

#define LOST_TIME   500
 
#define FRAME_TIME   50
 

Functions

static uint16_t constrain_pulse (uint16_t p)
 

Variables

const AP_HAL::HALhal
 -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- More...
 
_parser *RCInput::parsers [MAX_RC_PARSERSIN_CCM
 

Macro Definition Documentation

◆ FRAME_TIME

#define FRAME_TIME   50

Definition at line 180 of file RCInput.cpp.

Referenced by F4Light::RCInput::read().

◆ LOST_TIME

#define LOST_TIME   500

Definition at line 179 of file RCInput.cpp.

Referenced by F4Light::RCInput::read().

Function Documentation

◆ constrain_pulse()

static uint16_t constrain_pulse ( uint16_t  p)
inlinestatic

Definition at line 76 of file RCInput.cpp.

Variable Documentation

◆ hal

const AP_HAL::HAL& hal

-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

Definition at line 14 of file AC_PID_test.cpp.

◆ IN_CCM

bool RCInput::rc_failsafe_enabled IN_CCM

Definition at line 53 of file RCInput.cpp.