We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SPI API
SPI API add
virtual void transfer(const void *tx_buffer, void *rx_buffer, size_t count);
Expand SPI API and Functionality for High Speed Devices
Unlikely
This is really a missing API method, it doesn't make sense to have only a single buffer for both transmit and receive, as DMA hardware normally works in 2 buffers. The plain old https://github.com/arduino/ArduinoCore-API/blob/master/api/HardwareSPI.h#L112
virtual void transfer(void *buf, size_t count) = 0;
forces hacks such as:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
API component
SPI API
Description
SPI API add
Expand SPI API and Functionality for High Speed Devices
Is this a breaking change?
Unlikely
Additional information
This is really a missing API method, it doesn't make sense to have only a single buffer for both transmit and receive, as DMA hardware normally works in 2 buffers.
The plain old
https://github.com/arduino/ArduinoCore-API/blob/master/api/HardwareSPI.h#L112
forces hacks such as:
wasting both memory and cpu cycles
The text was updated successfully, but these errors were encountered: