|
Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
handling of stm32 PWM input using a timer with capture. More...
#include "mcu_periph/pwm_input_arch.h"#include "mcu_periph/pwm_input.h"#include "mcu_periph/gpio.h"#include <hal.h>#include <BOARD_CONFIG>
Include dependency graph for pwm_input_arch.c:Go to the source code of this file.
Macros | |
| #define | ONE_MHZ_CLK 1000000 |
Functions | |
| void | pwm_input_init (void) |
handling of stm32 PWM input using a timer with capture.
Definition in file pwm_input_arch.c.
| #define ONE_MHZ_CLK 1000000 |
Definition at line 34 of file pwm_input_arch.c.
Referenced by actuators_dualpwm_arch_init().
| void pwm_input_init | ( | void | ) |
Definition at line 92 of file pwm_input_arch.c.
References gpio_setup_pin_af(), PWM_INPUT1_GPIO_AF, PWM_INPUT1_GPIO_PIN, PWM_INPUT1_GPIO_PORT, PWM_INPUT1_ICU, PWM_INPUT2_GPIO_AF, PWM_INPUT2_GPIO_PIN, PWM_INPUT2_GPIO_PORT, PWM_INPUT2_ICU, pwm_input_duty_tics, pwm_input_duty_valid, PWM_INPUT_NB, pwm_input_period_tics, and pwm_input_period_valid.
Referenced by pwm_meas_init().
Here is the call graph for this function:
Here is the caller graph for this function: