In the SPI demo for k64 there are examples that show how to transfer block of data from master to slave.
but suppose i have an external hardware that connect to k64 as a SPI slave device.
this device can be any kind of device that's its interface has SPI where we need to write and read single register
they can be byte or short.
So what are the single atomic functions to read and write for the master
DSP_ReadData for reading