From 28ab149cf74b22faec96273e5e6072fa16d3503e Mon Sep 17 00:00:00 2001 From: barthess Date: Tue, 3 Mar 2015 21:07:44 +0300 Subject: EICU. Cosmetical improvements. --- os/hal/ports/STM32/LLD/eicu_lld.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'os/hal/ports/STM32/LLD/eicu_lld.h') diff --git a/os/hal/ports/STM32/LLD/eicu_lld.h b/os/hal/ports/STM32/LLD/eicu_lld.h index f6c99b9..e96d52f 100644 --- a/os/hal/ports/STM32/LLD/eicu_lld.h +++ b/os/hal/ports/STM32/LLD/eicu_lld.h @@ -298,7 +298,7 @@ typedef uint32_t eicufreq_t; typedef uint32_t eicucnt_t; /** - * @brief EICU Captured time(s). + * @brief EICU captured width and (or) period. */ typedef struct { /** @@ -446,17 +446,6 @@ struct EICUDriver { */ #define eicu_lld_get_compare(chp) (*((chp)->wccrp) + 1) -/** - * @brief Inverts the polarity for the given channel. - * - * @param[in] eicup Pointer to the EICUDriver object. - * @param[in] channel The timer channel to invert. - * - * @notapi - */ -#define eicu_lld_invert_polarity(eicup, channel) \ - (eicup)->tim->CCER ^= ((uint16_t)(STM32_TIM_CCER_CC1P << ((channel) * 4))) - /*===========================================================================*/ /* External declarations. */ /*===========================================================================*/ -- cgit v1.2.3