Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ppm_arch.c File Reference
#include "subsystems/radio_control.h"
#include "subsystems/radio_control/ppm.h"
#include <stm32/rcc.h>
#include <stm32/gpio.h>
#include <stm32/tim.h>
#include <stm32/misc.h>
#include "mcu_periph/sys_time.h"
+ Include dependency graph for ppm_arch.c:

Go to the source code of this file.

Functions

void ppm_arch_init (void)
 Architecture dependant code. More...
 

Variables

uint8_t ppm_cur_pulse
 State machine for decoding ppm frames. More...
 
uint32_t ppm_last_pulse_time
 
bool_t ppm_data_valid
 
static uint32_t timer_rollover_cnt
 

Function Documentation

Variable Documentation

uint8_t ppm_cur_pulse

State machine for decoding ppm frames.

Definition at line 42 of file ppm_arch.c.

bool_t ppm_data_valid

Definition at line 44 of file ppm_arch.c.

uint32_t ppm_last_pulse_time

Definition at line 43 of file ppm_arch.c.

uint32_t timer_rollover_cnt
static

Definition at line 45 of file ppm_arch.c.

Referenced by ppm_arch_init().