71// write the required hardware code to setup the SPI peripheral
72
73 } // end __esos_spi_hw_config()
74
75/*
76Transaction: Writes \em u16_cnt words stored in
77buffer \em *pu16_out to SPI device, while reading \em u16_cnt words from
78SPI device placing results into buffer \em *pu16_in
79\note Assumes that SPI peripheral has been properly configured.
80\note The SPI peripheral setup determines whether 8-bit or 16-bit data
81is written.
82\param pu16_out Pointer to buffer containing data to send. If \em pu16_out is \em NULLPTR this function will send zeroes to the SPI device and only "read"
83\param pu16_in Pointer to buffer to catch incoming data. If \em pu16_in is \em NULLPTR this function will only "write" the SPI device