Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
pwm_input.c File Reference

arch independent PWM input capture API More...

#include "std.h"
#include "mcu_periph/pwm_input.h"
+ Include dependency graph for pwm_input.c:

Go to the source code of this file.

Functions

uint32_t get_pwm_input_duty_in_usec (uint32_t channel)
 
uint32_t get_pwm_input_period_in_usec (uint32_t channel)
 

Variables

volatile uint32_t pwm_input_duty_tics [PWM_INPUT_NB]
 
volatile uint8_t pwm_input_duty_valid [PWM_INPUT_NB]
 
volatile uint32_t pwm_input_period_tics [PWM_INPUT_NB]
 
volatile uint8_t pwm_input_period_valid [PWM_INPUT_NB]
 

Detailed Description

arch independent PWM input capture API

Definition in file pwm_input.c.

Function Documentation

uint32_t get_pwm_input_duty_in_usec ( uint32_t  channel)

Definition at line 34 of file pwm_input.c.

uint32_t get_pwm_input_period_in_usec ( uint32_t  channel)

Definition at line 35 of file pwm_input.c.

Variable Documentation

volatile uint32_t pwm_input_duty_tics[PWM_INPUT_NB]

Definition at line 29 of file pwm_input.c.

Referenced by get_pwm_input_duty_in_usec(), pwm_input_init(), and xtend_rssi_periodic().

volatile uint8_t pwm_input_duty_valid[PWM_INPUT_NB]

Definition at line 30 of file pwm_input.c.

Referenced by pwm_input_init(), and xtend_rssi_periodic().

volatile uint32_t pwm_input_period_tics[PWM_INPUT_NB]
volatile uint8_t pwm_input_period_valid[PWM_INPUT_NB]

Definition at line 32 of file pwm_input.c.

Referenced by pwm_input_init().