diff options
author | barthess <barthess@yandex.ru> | 2015-03-03 21:07:44 +0300 |
---|---|---|
committer | barthess <barthess@yandex.ru> | 2015-03-03 21:07:44 +0300 |
commit | 28ab149cf74b22faec96273e5e6072fa16d3503e (patch) | |
tree | df7a993bad380caa4cc73e74f52db70267e1e995 /os/hal/ports/STM32/LLD/eicu_lld.h | |
parent | 75688209c204ce5b64532e555ed10f11c468dd07 (diff) | |
download | ChibiOS-Contrib-28ab149cf74b22faec96273e5e6072fa16d3503e.tar.gz ChibiOS-Contrib-28ab149cf74b22faec96273e5e6072fa16d3503e.tar.bz2 ChibiOS-Contrib-28ab149cf74b22faec96273e5e6072fa16d3503e.zip |
EICU. Cosmetical improvements.
Diffstat (limited to 'os/hal/ports/STM32/LLD/eicu_lld.h')
-rw-r--r-- | os/hal/ports/STM32/LLD/eicu_lld.h | 13 |
1 files changed, 1 insertions, 12 deletions
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. */ /*===========================================================================*/ |