VxWorks Reference Manual : Libraries

m68360Sio

NAME

m68360Sio - Motorola MC68360 SCC UART serial driver

ROUTINES

m68360DevInit( ) - initialize the SCC
m68360Int( ) - handle an SCC interrupt

DESCRIPTION

This is the driver for the SCC's in the internal Communications Processor (CP) of the Motorola MC68360. This driver only supports the SCC's in asynchronous UART mode.

USAGE

A m68360_CHAN structure is used to describe the chip. The BSP's sysHwInit( ) routine typically calls sysSerialHwInit( ) which initializes all the values in the M68360_CHAN structure (except the SIO_DRV_FUNCS) before calling m68360DevInit( ). The BSP's sysHwInit2( ) routine typically calls sysSerialHwInit2( ) which connects the chips interrupt (m68360Int) via intConnect( ).

INCLUDE FILES

drv/sio/m68360Sio.h

SEE ALSO

m68360Sio


Libraries : Routines

m68360DevInit( )

NAME

m68360DevInit( ) - initialize the SCC

SYNOPSIS

void m68360DevInit
    (
    M68360_CHAN * pChan
    )

DESCRIPTION

This routine is called to initialize the chip to a quiescent state.

SEE ALSO

m68360Sio


Libraries : Routines

m68360Int( )

NAME

m68360Int( ) - handle an SCC interrupt

SYNOPSIS

void m68360Int
    (
    M68360_CHAN * pChan
    )

DESCRIPTION

This routine gets called to handle SCC interrupts.

SEE ALSO

m68360Sio