Johan
2016-05-15 18:20:49 UTC
I am trying to use I2C on STM32F0 with libopencm3.
I have found libopencm3/include/libopencm3/stm32/f0/i2c.h which does the
register definitions. But it does not do #include
<libopencm3/stm32/common/i2c_common_all.h> where it seems like alll
functions like i2c_reset and so on exist.
Is there a reason for this, are the functions not supported on f0?
In the f3 version the i2c.h defines function prototypes directly without
using i2c_common_all.h.
Best regards
Johan
I have found libopencm3/include/libopencm3/stm32/f0/i2c.h which does the
register definitions. But it does not do #include
<libopencm3/stm32/common/i2c_common_all.h> where it seems like alll
functions like i2c_reset and so on exist.
Is there a reason for this, are the functions not supported on f0?
In the f3 version the i2c.h defines function prototypes directly without
using i2c_common_all.h.
Best regards
Johan