Introduction - If you have any usage issues, please Google them yourself
This function of the SPI read and write functionality into a single, transmission of val is not only written to the SPI data is read from the SPI data, only need to read or write in the implementation prior to the MCU