I2C3 is on many parts, but wasn't properly supported with the register definitions. Declare them centrally, just depending on the memorymap defining them. On some parts, the rcc bits were defined, but not the base registers. Fixes: https://github.com/libopencm3/libopencm3/issues/820
42 lines
1.0 KiB
C
42 lines
1.0 KiB
C
/** @defgroup i2c_defines I2C Defines
|
|
|
|
@brief <b>Defined Constants and Types for the STM32L4xx I2C </b>
|
|
|
|
@ingroup STM32L4xx_defines
|
|
|
|
@version 1.0.0
|
|
|
|
@date 12 October 2012
|
|
|
|
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_I2C_H
|
|
#define LIBOPENCM3_I2C_H
|
|
|
|
#include <libopencm3/stm32/common/i2c_common_v2.h>
|
|
|
|
/**@{*/
|
|
|
|
/**@}*/
|
|
|
|
#endif
|
|
|