SPI library uses callback function pointer