spi-transfer: Add SPI transfer helper routines

These routines assume that any messages is composed of a write and/or
read part. While the API allows sending and receiving as part of one
messages/transfer, it does not permit full duplex operation where data is
both send and received at the same time.
This commit is contained in:
Benjamin Berg
2021-01-18 16:41:01 +01:00
committed by Benjamin Berg
parent b0d9d00762
commit 7fcce7891a
6 changed files with 612 additions and 0 deletions

View File

@@ -29,4 +29,5 @@
#include "fpi-log.h"
#include "fpi-print.h"
#include "fpi-usb-transfer.h"
#include "fpi-spi-transfer.h"
#include "fpi-ssm.h"