serialAPI_init Function

Initiliazes serial channel interface

Syntax

ERRCODE serialAPI_init(UCB* ucb);

Parameters

UCB* - pointer to UART CONTROL BLOCK structure

Return Value

SERIALAPI_SUCCESS -  serial channel is initialized
SERIALAPI_XXXX_ERROR - otherwise

Remarks

N/A

Requirements

serialapi.h

Example

N/A