pwm_meas

PWM measurement. PWM input measurement mcu periph access and init wrapper for other modules. For STM32: - each board (or airframe file) has to define the PWM input pin and parameters - example can be found in sw/airborne/boards/apogee_1.0.h board file

Defines

Name

Value

Description

USE_PWM_INPUT1

PWM_PULSE_TYPE_ACTIVE_LOW|PWM_PULSE_TYPE_ACTIVE_HIGH

Activate PWM input 1 and select polarity

USE_PWM_INPUT2

PWM_PULSE_TYPE_ACTIVE_LOW|PWM_PULSE_TYPE_ACTIVE_HIGH

Activate PWM input 2 and select polarity