Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: brad
Date: Fri Oct 10 18:36:17 UTC 2025
Modified Files:
src/share/man/man9: spi.9
src/sys/dev/spi: spi.c spivar.h
Log Message:
Add another convenience wrapper function to the SPI framework.
spi_sendv(spi_handle_t sh, const struct iovec *iov,
int iovcnt)
Takes a iovec of buffers and sends them as one transaction down the
SPI bus.
There exists devices that will not handle sending the register that is
to be written to as one transaction and the data as a second
transaction. That is, use one spi_send() to send the register and a
second spi_send() to send the data. Those devices require a single
transaction with both parts in it.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man9/spi.9
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/spi/spi.c
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/spi/spivar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index