-
Notifications
You must be signed in to change notification settings - Fork 2
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
I2C GPIO #4
Comments
Plan: Make DevAddrWrite-RegisterAddr-RepeatedStart-DevAddrRead-Read cycle a single transaction in twi.c. |
Implemented unitary I2C read at 06f9226 , no tests with interleaved I2C output yet |
Fixed blocking-ness of twi_nonBlockingReadRegisterFrom at fdbf5cc . This had been responsible for some unexpectedly long execution times inside the stepper interrupt. |
Major I2C rewrite with transaction control blocks. Replaced twi.c with twi_tcb.c, implementing generic round-robin-queued read, write, read-modify-write; also a prioritized queued "quickread" function (good for responding to change-of-state interrupt from MCP23017 I2C GPIO). Commit 9891bf9 |
Implement & test I2C write for low-speed GPIO outputs so it's compatible with repetitive I2C reads called from inside stepper interrupt.
Plan: when completing a read operation, check for pending write and initiate it before making I2C status ready for next read op.The text was updated successfully, but these errors were encountered: