doc: efm32: timer: properly tag the shared header as well

This commit is contained in:
Karl Palsson 2019-06-25 11:40:55 +00:00
parent 9b3ab933ac
commit 6df301accc
1 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,5 @@
/** @addtogroup timer_defines
*/
/* /*
* This file is part of the libopencm3 project. * This file is part of the libopencm3 project.
* *
@ -17,12 +19,13 @@
* along with this library. If not, see <http://www.gnu.org/licenses/>. * along with this library. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef LIBOPENCM3_EFM32_TIMER_H #pragma once
#define LIBOPENCM3_EFM32_TIMER_H
#include <libopencm3/efm32/memorymap.h> #include <libopencm3/efm32/memorymap.h>
#include <libopencm3/cm3/common.h> #include <libopencm3/cm3/common.h>
/**@{*/
#define TIMER_CTRL(base) MMIO32((base) + 0x000) #define TIMER_CTRL(base) MMIO32((base) + 0x000)
#define TIMER_CMD(base) MMIO32((base) + 0x004) #define TIMER_CMD(base) MMIO32((base) + 0x004)
#define TIMER_STATUS(base) MMIO32((base) + 0x008) #define TIMER_STATUS(base) MMIO32((base) + 0x008)
@ -606,5 +609,4 @@ void timer_set_top(uint32_t timer, uint32_t top);
END_DECLS END_DECLS
#endif /**@}*/