aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/eicu_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32/LLD/eicu_lld.h')
-rw-r--r--os/hal/ports/STM32/LLD/eicu_lld.h13
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. */
/*===========================================================================*/