|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
40 #ifndef PPM_TIMER_FREQUENCY
41 #error "Undefined PPM_TIMER_FREQUENCY"
45 #error "PPM channel undefined"
74 #if defined PPM_PULSE_TYPE && PPM_PULSE_TYPE == PPM_PULSE_TYPE_POSITIVE
75 ICU_INPUT_ACTIVE_HIGH,
76 #elif defined PPM_PULSE_TYPE && PPM_PULSE_TYPE == PPM_PULSE_TYPE_NEGATIVE
79 #error "Unknown PPM_PULSE_TYPE"
static void icuoverflowcb(ICUDriver *icup)
PPM Overflow callback.
uint32_t ppm_last_pulse_time
static void icuperiodcb(ICUDriver *icup)
PPM Pulse period callback.
static uint32_t timer_rollover_cnt
#define RADIO_CONTROL_NB_CHANNEL
#define PPM_TIMER_FREQUENCY
void ppm_arch_init(void)
Architecture dependant code.
void ppm_decode_frame_width(uint32_t ppm_width)
Decode a PPM frame from last width.
static ICUConfig ppm_icucfg
ICU timer configuration.