doc: efm32: include gpio_common

gpio_common was built, but wasn't picked up by any documentation.
Use the peripheral_apis style from stm32, but try out the #pragma once
style.  Downside is you don't get warnings if you include an sub layer
.h file.  Upsides are
* no ifdef/endif blocks
* no /**@cond*/ /**@endcond*/ blocks
* that's enough win!
This commit is contained in:
Karl Palsson
2019-06-22 00:53:54 +00:00
parent 6d74262bf4
commit 9bc432474b
7 changed files with 55 additions and 31 deletions
+9 -4
View File
@@ -1,3 +1,11 @@
/** @defgroup gpio_defines GPIO Defines
*
* @brief <b>Defined Constants and Types for the EFM32HG GPIO module</b>
*
* @ingroup EFM32HG_defines
*
* LGPL License Terms @ref lgpl_license
*/
/*
* This file is part of the libopencm3 project.
*
@@ -15,9 +23,6 @@
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef LIBOPENCM3_GPIO_H
#define LIBOPENCM3_GPIO_H
#pragma once
#include <libopencm3/efm32/common/gpio_common_hglg.h>
#endif