Skip to content

Commit 990154c

Browse files
Add SPI block transfer with receive/send buffers
1 parent abeee39 commit 990154c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

api/HardwareSPI.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ class HardwareSPI
111111
virtual uint16_t transfer16(uint16_t data) = 0;
112112
virtual void transfer(void *buf, size_t count) = 0;
113113

114+
// EFP3 - Additional block-based versions we implement
115+
virtual void transfer(const void *txbuf, void *rxbuf, size_t count) = 0;
116+
114117
// Transaction Functions
115118
virtual void usingInterrupt(int interruptNumber) = 0;
116119
virtual void notUsingInterrupt(int interruptNumber) = 0;

0 commit comments

Comments
 (0)