Table of Contents

spi_read

WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0

Read a byte from the SPI bus

Description

int spi_read ( )

Parameter

None

Return Values

An integer byte value read from the SPI bus (0-255)

See Also

spi_clearcs() - Clear the CS output of the SPI bus

spi_setcs() - Set the CS output of the SPI bus

spi_write() - Write a byte to the SPI bus