Paparazzi UAS  v4.0.4_stable-3-gf39211a
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.


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


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

void tim2_irq_handler ( void  )

Definition at line 104 of file ppm_arch.c.

References DecodePpmFrame, and timer_rollover_cnt.

Variable Documentation

uint8_t ppm_cur_pulse

State machine for decoding ppm frames.

Definition at line 40 of file ppm_arch.c.

bool_t ppm_data_valid

Definition at line 42 of file ppm_arch.c.

uint32_t ppm_last_pulse_time

Definition at line 41 of file ppm_arch.c.

uint32_t timer_rollover_cnt

Definition at line 43 of file ppm_arch.c.

Referenced by ppm_arch_init(), and tim2_irq_handler().