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

Documentation for SPI.transfer mentions non-existant functions #47

Open
mich181189 opened this issue Feb 28, 2021 · 0 comments
Open

Documentation for SPI.transfer mentions non-existant functions #47

mich181189 opened this issue Feb 28, 2021 · 0 comments

Comments

@mich181189
Copy link

The docs (https://energia.nu/guide/libraries/spi/spi_transfer/) mentions three forms of SPI.transfer:

SPI.transfer(val)
SPI.transfer(slaveSelectPin, val)
SPI.transfer(slaveSelectPin, val, transferMode)

however the actual SPI.h header seems to include different functions:

uint8_t transfer(uint8_t);
uint16_t transfer16(uint16_t data);
void transfer(void *buf, size_t count);

Only one of these seems to match the documentation!

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

No branches or pull requests

1 participant