VxWorks Reference Manual : Libraries

ppc860Sio

NAME

ppc860Sio - Motorola MPC800 SMC UART serial driver

ROUTINES

ppc860DevInit( ) - initialize the SMC
ppc860Int( ) - handle an SMC interrupt

DESCRIPTION

This is the driver for the SMCs in the internal Communications Processor (CP) of the Motorola MPC68860/68821. This driver only supports the SMCs in asynchronous UART mode.

USAGE

A PPC800SMC_CHAN structure is used to describe the chip. The BSP's sysHwInit( ) routine typically calls sysSerialHwInit( ), which initializes all the values in the PPC860SMC_CHAN structure (except the SIO_DRV_FUNCS) before calling ppc860DevInit( ).

The BSP's sysHwInit2( ) routine typically calls sysSerialHwInit2( ) which connects the chip's interrupts via intConnect( ).

INCLUDE FILES

drv/sio/ppc860Sio.h

SEE ALSO

ppc860Sio


Libraries : Routines

ppc860DevInit( )

NAME

ppc860DevInit( ) - initialize the SMC

SYNOPSIS

void ppc860DevInit
    (
    PPC860SMC_CHAN * pChan
    )

DESCRIPTION

This routine is called to initialize the chip to a quiescent state. Note that the smcNum field of PPC860SMC_CHAN must be either 1 or 2.

SEE ALSO

ppc860Sio


Libraries : Routines

ppc860Int( )

NAME

ppc860Int( ) - handle an SMC interrupt

SYNOPSIS

void ppc860Int
    (
    PPC860SMC_CHAN * pChan
    )

DESCRIPTION

This routine is called to handle SMC interrupts.

SEE ALSO

ppc860Sio