Spi_GetSC16IS762 Function

Waits for incoming data byte polling interrupt pin; reads SC16IS762 RHR resigters

Syntax

ERRCODE Spi_GetSC16IS762( UBYTE iface, UBYTE channel, UBYTE* dataByte)

Parameters

UBYTE interface (SPI_INTERFACE0,SPI_INTERFACE1, SPI_INTERFACE2)
UBYTE - channel ( A or B )	
UBYTE* - where to put the data byte

Return Value

ERRCODE - SUCCESS or INVALID_INTERFACE or ERROR

Remarks

N/A

Requirements

sc16is762.h

Example

N/A