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

Rework API and header files to make dev registers more accessible to the integrating developer #15

Open
stephendpmurphy opened this issue Sep 16, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@stephendpmurphy
Copy link
Owner

Currently the registers are hidden away from the developer and they do not have access to modifying individual bits as they would like.

Re-work the source along with #11 so the developer has access to everything, but can also choose to use nice APIs for the gyro, accel, and mag which configures things for you.

This means making a generic API which takes a byte buffer, length and address and writes the data blindly. This gives the developer full control of writing and reading data if they choose.

int8_t icm20948_writeRegister(uint8_t addr, uint8_t *buff, uint16_t len)
@stephendpmurphy stephendpmurphy added the enhancement New feature or request label Sep 16, 2021
@stephendpmurphy stephendpmurphy self-assigned this Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant