Skip to content
Commit 4c204036 authored by Tom Burdick's avatar Tom Burdick Committed by Anas Nashif
Browse files

spi: callback API for asynchronous transcieve



Adds a new spi_transcieve_cb API which enables asynchronous
SPI transactions with callback notification.

The exist spi_transcieve_async API remains and uses the new
spi_transcieve_cb API to provide a k_poll_signal notifier.

The driver API changes to provide a callback and userdata
parameter to async transcieve. All drivers in the tree
have been updated to the change.

Signed-off-by: default avatarTom Burdick <thomas.burdick@intel.com>
parent 096fc3b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment