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

11 Interrupts handling #160

Open
wants to merge 4 commits into
base: Anton.Degtyarov
Choose a base branch
from

Conversation

antman88
Copy link

@antman88 antman88 commented Jan 9, 2020

  1. Setup handling of MPU6050 interrupts.
  2. Implement deferred interrupt handler by custom workqueue to handle the request, implement filtering measurements processing
  3. Provide additional interface procfs to read the processed data at once
  4. Synchronize all concurrent operations

Added base driver for mpu6050 and overlay
for i2c for auto loading the moudle

Signed-off-by: Anton Degtyarov <[email protected]>
Configure motion detection interrupt request on MPU6050.
Configure GPIO as input.
Register handler for the MPU6050 interrupt.

Signed-off-by: Anton Degtyarov <[email protected]>
Add workqueu to handle the interrupt request.
Add data protection by mutex.
Add data filtration by polling.

Signed-off-by: Anton Degtyarov <[email protected]>
Provide interface procfs to read the processed data at once.

Signed-off-by: Anton Degtyarov <[email protected]>
@antman88 antman88 added the ready The PR is ready for review (set by author). label Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready The PR is ready for review (set by author).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant