spiByte Function

Writes a data byte to SPI

Syntax

UBYTE spiByte( UBYTE data );

Parameters

UBYTE data-  data byte is to be written to SPI
CLK should be low on entry

Return Value

UBYTE -  data byte was read from SPI

Remarks

N/A

Requirements

spi.h

Example

N/A