Spi_ChangeOutputSC16IS762 Function

Configures GPIO as output and sets the port pin

Syntax

ERRCODE Spi_ChangeOutputSC16IS762( UBYTE iface, UBYTE channel, UBYTE dataBit, UBYTE outLevel )

Parameters

UBYTE interface (SPI_INTERFACE0,SPI_INTERFACE1, SPI_INTERFACE2)
UBYTE - channel ( A or B )	
UBYTE - data bit to be changed
UBYTE - output level (0,1)

Return Value

ERRCODE - SUCCESS or INVALID_INTERFACE

Remarks

N/A

Requirements

sc16is762.h

Example

N/A