Spi_InitSC16IS762 Function

Initializes SC16IS762

Syntax

ERRCODE Spi_InitSC16IS762( UBYTE iface, UBYTE channel, UINT divisor)

Parameters

UBYTE interface (SPI_INTERFACE0,SPI_INTERFACE1, SPI_INTERFACE2)
UBYTE - channel ( A or B )	
UBYTE - baud rate divisor

Return Value

ERRCODE - SUCCESS or INVALID_INTERFACE

Remarks

N/A

Requirements

sc16is762.h

Example

N/A