doc: clean some doxygen for stm32f1 and samd21

fixes #1721