SPI_ASYNC - Online Linux Manual PageSection : 9
Updated : June 2018
Source : Kernel Hackers Manual 2.6.
Note : Serial Peripheral Interface (S
NAMEspi_async − asynchronous SPI transfer
SYNOPSISint spi_async(struct spi_device * spi, struct spi_message * message);
ARGUMENTSspi device with which data will be exchanged message describes the data transfers, including completion callback
CONTEXTany (irqs may be blocked, etc)
DESCRIPTIONThis call may be used in_irq and other contexts which can´t sleep, as well as from task contexts which can sleep. The completion callback is invoked in a context which can´t sleep. Before that invocation, the value of message−>status is undefined. When the callback is issued, message−>status holds either zero (to indicate complete success) or a negative error code. After that callback returns, the driver which issued the transfer request may deallocate the associated memory; it´s no longer in use by any SPI core or controller driver code. Note that although all messages to a spi_device are handled in FIFO order, messages may go to different devices in other orders. Some device might be higher priority, or have various ‟hard” access time requirements, for example. On detection of any fault during the transfer, processing of the entire message is aborted, and the device is deselected. Until returning from the associated message completion callback, no other spi_message queued to that device will be processed. (This rule applies equally to all the synchronous transfer calls, which are wrappers around this core asynchronous primitive.)
COPYRIGHT 0
Johanes Gumabo
Data Size : 5,343 byte man-spi_async.9Build : 2024-12-29, 07:25 :
Visitor Screen : 1280 x 720
Visitor Counter ( page / site ) : 2 / 262,998
Visitor ID : :
Visitor IP : 3.135.208.14 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.