diff --git a/lib/stm32/f0/comparator.c b/lib/stm32/f0/comparator.c
index 51bd0f2f..59e6023f 100644
--- a/lib/stm32/f0/comparator.c
+++ b/lib/stm32/f0/comparator.c
@@ -1,8 +1,7 @@
-/** @defgroup comp_file COMP
+/** @addtogroup comp_file COMP peripheral API
+ * @ingroup peripheral_apis
*
- * @ingroup STM32F0xx
- *
- * @brief libopencm3 STM32F0xx COMP
+ * @brief STM32F0xx comparator peripheral
*
* @version 1.0.0
*