serialspi2cs2chB_init Function

Initiliazes serial port (spi2, cs2 , channel A)

Syntax

ERRCODE serialspi2cs2chB_init(UCB* ucb)

Parameters

UCB* - pointer to UART CONTROL BLOCK structure

Return Value

SERIALAPI_SUCCESS -  serial spi channel is initialized
SERIALAPI_XXXX_ERROR - otherwise

Remarks

N/A

Requirements

serialspi2cs2chB.h

Example

N/A