CB1_XBEE_Init Function

Initializes XBee interface

Syntax

ERRCODE CB1_XBEE_Init(UBYTE iface, UBYTE channel, UINT divisor);

Parameters

UBYTE - interface (SPI_INTERFACE0,SPI_INTERFACE1, SPI_INTERFACE2)
UBYTE - channel (only A)
UINT - baud rate divisor

Return Value

SUCCESS -  SUCCESS
Otherwise - INVALID_INTERFACE

Remarks

N/A

Requirements

cb1.h

Example

N/A