Guillaume Revaillot 2975c3151a stm32: extract l0 lptimer stuff from timer.h to common lptimer.h
lptimer peripheral is present on f4,f7,l0,l4,g0,g4 and prob others. Extract
content from stm32l0 timer.h and make it usable by other chips.
2019-07-05 10:48:26 +02:00

47 lines
1.3 KiB
C

/** @defgroup lptimer_defines LPTIM Defines
*
* @ingroup STM32L0xx_defines
*
* @brief <b>libopencm3 Defined Constants and Types for the STM32L0xx Low Power Timer</b>
*
* @version 1.0.0
*
* LGPL License Terms @ref lgpl_license
* */
/*
* This file is part of the libopencm3 project.
*
* Copyright (C) 2019 Guillaume Revaillot <g.revaillot@gmail.com>
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef LIBOPENCM3_LPTIMER_H
#define LIBOPENCM3_LPTIMER_H
/**@{*/
#include <libopencm3/stm32/common/lptimer_common_all.h>
/** @defgroup lptim_reg_base Low Power Timer register base addresses
@{*/
#define LPTIM1 LPTIM1_BASE
/**@}*/
BEGIN_DECLS
END_DECLS
/**@}*/
#endif