VxWorks Reference Manual : Libraries

m68332Sio

NAME

m68332Sio - Motorola MC68332 tty driver

ROUTINES

m68332DevInit( ) - initialize the SCC
m68332Int( ) - handle an SCC interrupt

DESCRIPTION

This is the driver for the Motorola MC68332 on-chip UART. It has only one serial channel.

USAGE

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

INCLUDE FILES

drv/sio/m68332Sio.h

SEE ALSO

m68332Sio


Libraries : Routines

m68332DevInit( )

NAME

m68332DevInit( ) - initialize the SCC

SYNOPSIS

void m68332DevInit
    (
    M68332_CHAN * pChan
    )

DESCRIPTION

This initializes the chip to a quiescent state.

RETURNS

N/A

SEE ALSO

m68332Sio


Libraries : Routines

m68332Int( )

NAME

m68332Int( ) - handle an SCC interrupt

SYNOPSIS

void m68332Int
    (
    M68332_CHAN * pChan
    )

DESCRIPTION

This routine handles SCC interrupts.

RETURNS

N/A

SEE ALSO

m68332Sio