Implementation for (*i2c_callback_t) in Zephyr

Hello there,

In the Zephyr docs i can see theres a typedef for i2c_callback_t but looking through the SDK, i cannot see a any uses for this type.

i am trying to create a callback for my successful/unsuccessful i2c operations, i have also tried using i2c_target_config and the i2c_target_register() function, but had no luck with callbacks.

is there a way to implement this i2c_callback_t? i am on Zephyr 3.2.99.

Parents Reply Children
Related