You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have to manually set the OA1EN flag in OAR1. There should be a method of enabling this mode without resorting to direct register manipulation. (That is of course the purpose of this abstraction library.) This could be done automatically when setting slave address or, maybe that could be undesirable in which case a separate function to enable slave may be desirable.
The text was updated successfully, but these errors were encountered:
I am using libopencm3 with a STM32F072 as a I2C target (slave). This code block enables this mode:
I have to manually set the OA1EN flag in OAR1. There should be a method of enabling this mode without resorting to direct register manipulation. (That is of course the purpose of this abstraction library.) This could be done automatically when setting slave address or, maybe that could be undesirable in which case a separate function to enable slave may be desirable.
The text was updated successfully, but these errors were encountered: