Browse Source
STM32L0 uses the same DMA peripheral as STM32F0, F1, L1 and others with some differences. Those are mostly in the number of supported controllers and channels. This patch enables the basic support with no attempt to only expose the available controllers / channels. For more information see the ST Application Note AN2548. Signed-off-by: Martin Sivak <mars@montik.net>pull/923/head
Martin Sivak
7 years ago
committed by
Karl Palsson
3 changed files with 40 additions and 0 deletions
@ -0,0 +1,37 @@ |
|||
/** @defgroup dma_defines DMA Defines
|
|||
* |
|||
* @ingroup STM32L0xx_defines |
|||
* |
|||
* @brief Defined Constants and Types for the STM32L0xx DMA Controller |
|||
* |
|||
* @version 1.0.0 |
|||
* |
|||
* @date 29 April 2018 |
|||
* |
|||
* LGPL License Terms @ref lgpl_license |
|||
*/ |
|||
|
|||
/*
|
|||
* This file is part of the libopencm3 project. |
|||
* |
|||
* 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_DMA_H |
|||
#define LIBOPENCM3_DMA_H |
|||
|
|||
#include <libopencm3/stm32/common/dma_common_l1f013.h> |
|||
|
|||
#endif |
|||
|
Loading…
Reference in new issue