Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linuxfs i2c compatibility with Pigpio and the i2c spec dictates these #333

Merged
merged 1 commit into from
Mar 10, 2024
Merged

linuxfs i2c compatibility with Pigpio and the i2c spec dictates these #333

merged 1 commit into from
Mar 10, 2024

Conversation

taartspi
Copy link
Collaborator

i2c interface should use a restart between the write and read operation. --Combined format (see Figure 13). During a change of direction within a transfer, the START condition and the target address are both repeated, but with the R/W bit reversed.--
int i2cReadByteData(unsigned handle, unsigned i2cReg) int i2cReadWordData(unsigned handle, unsigned i2cReg)

i2c interface should use a restart between the write and read operation.
--Combined format (see Figure 13). During a change of direction within a transfer,
the START condition and the target address are both repeated, but with the R/W bit
reversed.--
int i2cReadByteData(unsigned handle, unsigned i2cReg) int i2cReadWordData(unsigned handle, unsigned i2cReg)
@FDelporte FDelporte requested a review from eitch March 10, 2024 10:33
Copy link
Member

@eitch eitch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks correct

@eitch eitch merged commit 9d698be into Pi4J:develop Mar 10, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants