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

Interface needs cleaning up #9

Open
henkmuller opened this issue Dec 7, 2011 · 0 comments
Open

Interface needs cleaning up #9

henkmuller opened this issue Dec 7, 2011 · 0 comments

Comments

@henkmuller
Copy link
Member

The interface is rather odd and needs to be cleaned up.

. It uses a struct that contains data, data_len, clock multiplier, and number of masters (!). data and data_len clearly belong together, but the number of masters should be part of the bus definition, and the clock multiplier belongs with the device address. Furthermore, for any normal use both device address and clock multiplier are constant.

. The data_len is measured in bytes - it is worth checking that this should not be the number of bits.

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

No branches or pull requests

1 participant