Setting up the i2c_bitbang functions in zephyr/drivers/i2c/i2c_bitbang.cpp #39049
Unanswered
michel-ann
asked this question in
Q&A
Replies: 1 comment
-
The file So to answer your question:
You don't. High level drivers, such as
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use the functions outlined by this file, but I am a little confused about how to initialize everything. All of the functions use a *struct i2c_bitbang context, which is the struct given in the header file. My question is, how should I set up the struct? I am just confused on what it wants for the *void io_context field and how to declare the second *struct i2c_bitbang_io io field.
Any help / clarification would be much appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions