Browse Source

Moved I2C to common, no changes needed.

pull/2/head
Fergus Noble 13 years ago
parent
commit
f3779fbefa
  1. 4
      include/libopencm3/stm32_common/i2c.h

4
include/libopencm3/stm32f1/i2c.h → include/libopencm3/stm32_common/i2c.h

@ -20,7 +20,7 @@
#ifndef LIBOPENCM3_I2C_H
#define LIBOPENCM3_I2C_H
#include <libopencm3/stm32/memorymap.h>
#include <libopencm3/stm32_common/memorymap.h>
#include <libopencm3/cm3/common.h>
/* --- Convenience macros -------------------------------------------------- */
@ -195,7 +195,7 @@
/* ADD: Address bits: [7:1] in 7-bit mode, bits [9:0] in 10-bit mode */
/* --- I2Cx_OAR1 values ---------------------------------------------------- */
/* --- I2Cx_OAR2 values ---------------------------------------------------- */
/* Note: Bits [15:8] are reserved, and forced to 0 by hardware. */
Loading…
Cancel
Save