Greetings! Is there a document somewhere (or coming out soon) that documents the additional SPI functions included with the IDE v1.5.8? If I'm going to test them, it would be a good thing to know how to use them.
The new functions are:
static void usingInterrupt(uint8_t interruptNumber);
inline static void beginTransaction(SPISettings settings);
inline static void endTransaction(void);
There appear to be a couple new SPI.transfer() functions also that allow 16 bit and a multiple byte (array) transfers.
edit: If I had to guess:
The SPI.usingInterrupt() function sets an interrupt number that another SPI device is using in an interrupt function to access the SPI bus.
The SPI.beginTransaction() function sets new SPI settings (speed,mode,bit order) and uses a hardware interrupt mask to disable the interrupt set in the SPI.usingInterrupt() function call.
The SPI.endTransaction function restores the interrupt mask to its former settings.
How did I do?