Skip to content

How to use I2C? #742

Jun 21, 2021 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

@sheershak-agarwal You should make the port kind output, then you can call the correct member function in the base class. Since I2C is synchronous, it makes sense that the component sending the transaction would have both operations as output ports.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@sheershak-agarwal
Comment options

@rawinza555
Comment options

@LeStarch
Comment options

@sheershak-agarwal
Comment options

@rawinza555
Comment options

Answer selected by LeStarch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants