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 "mcu_periph/sys_time.h"
#include "subsystems/radio_control.h"
#include "subsystems/radio_control/ppm.h"
#include <inttypes.h>
#include <caml/mlvalues.h>
+ Include dependency graph for ppm_arch.c:

Go to the source code of this file.


void ppm_arch_init (void)
 Architecture dependant code. More...
value update_rc_channel (value c __attribute__((unused)), value v __attribute__((unused)))
 USE_NPS. More...
value send_ppm (value unit)


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

Function Documentation

void ppm_arch_init ( void  )

Architecture dependant code.

Definition at line 38 of file ppm_arch.c.

References FALSE, ppm_cur_pulse, ppm_data_valid, ppm_frame_available, ppm_last_pulse_time, and RADIO_CONTROL_NB_CHANNEL.

value send_ppm ( value  unit)

Definition at line 92 of file ppm_arch.c.

value update_rc_channel ( value c   __attribute__(unused),
value v   __attribute__(unused) 


Definition at line 89 of file ppm_arch.c.

Variable Documentation

uint8_t ppm_cur_pulse

State machine for decoding ppm frames.

Definition at line 34 of file ppm_arch.c.

bool_t ppm_data_valid

Definition at line 36 of file ppm_arch.c.

uint32_t ppm_last_pulse_time

Definition at line 35 of file ppm_arch.c.