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

Computation of CRC-5/USB for values not aligned to byte boundaries #1

Open
Nic30 opened this issue Mar 29, 2021 · 0 comments
Open

Computation of CRC-5/USB for values not aligned to byte boundaries #1

Nic30 opened this issue Mar 29, 2021 · 0 comments

Comments

@Nic30
Copy link

Nic30 commented Mar 29, 2021

It is common to compute the CRC-5/USB for 15bits.

I do see only the API which uses whole bytes
https://github.com/nanpuyue/crc/blob/master/src/lib.rs#L64
or the API with bits which does not support reflections
https://github.com/nanpuyue/crc/blob/master/src/lib.rs#L98
.

Is there some trick to compute crc values also with reflection?

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