28 #include "generated/airframe.h"
33 #include "modules/radio_control/ppm_arch.h"
41 #include "generated/radio.h"
46 #define PPM_PULSE_TYPE_POSITIVE 0
47 #define PPM_PULSE_TYPE_NEGATIVE 1
void ppm_decode_frame_width(uint32_t ppm_width)
Decode a PPM frame from last width.
void ppm_arch_init(void)
Architecture dependant code.
void ppm_init(void)
RC init function.
uint16_t ppm_pulses[RADIO_CTL_NB]
void ppm_decode_frame(uint32_t ppm_time)
Decode a PPM frame from global timer value.
void ppm_event(void)
RC event function.
volatile bool ppm_frame_available
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.