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

Update SPI.h #1

Closed
wants to merge 1 commit into from
Closed

Update SPI.h #1

wants to merge 1 commit into from

Conversation

crteensy
Copy link
Contributor

I need to change SPI settings in the DmaSpi library. As all data is private to SPISettings, I propose an extra method in SPIClass for that purpose (which is a friend of SPISettings and thus can access the internals).

The DmaSpi handles one or more slaves between a single pair of beginTransaction() and endTransaction() calls, by letting a chip select class handle the cs signal and apply SPI settings.

I need to change SPI settings in the DmaSpi library. As all data is private to SPISettings, I propose an extra method in SPIClass for that purpose (which is a friend of SPISettings and thus can access the internals).

The DmaSpi handles one or more slaves between a single pair of beginTransaction() and endTransaction() calls, by letting a chip select class handle the cs signal and apply SPI settings.
@crteensy
Copy link
Contributor Author

I'm thinking this over again, I'm still not sure how SPI transactions should be done by the DmaSpi. Please look at this thread from time to time as it was started for exactly this reason (DmaSpi and SPI transactions):

http://forum.pjrc.com/threads/26304-DMA-SPI-and-SPI-transactions

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

Successfully merging this pull request may close these issues.

None yet

1 participant