VxWorks Reference Manual : Libraries

m68901Sio

NAME

m68901Sio - MC68901 MFP tty driver

ROUTINES

m68901DevInit( ) - initialize a M68901_CHAN structure

DESCRIPTION

This is the SIO driver for the Motorola MC68901 Multi-Function Peripheral (MFP) chip.

USER-CALLABLE ROUTINES

Most of the routines in this driver are accessible only through the I/O system. However, one routine must be called directly: m68901DevInit( ) initializes the driver. Normally, it is called by sysSerialHwInit( ) in sysSerial.c

IOCTL FUNCTIONS

This driver responds to the same ioctl( ) codes as other tty drivers; for more information, see the manual entry for tyLib.

SEE ALSO

m68901Sio, tyLib


Libraries : Routines

m68901DevInit( )

NAME

m68901DevInit( ) - initialize a M68901_CHAN structure

SYNOPSIS

void m68901DevInit
    (
    M68901_CHAN * pChan
    )

DESCRIPTION

This routine initializes the driver function pointers and then resets the chip to a quiescent state. The BSP must have already initialized all the device addresses and the baudFreq fields in the M68901_CHAN structure before passing it to this routine.

RETURNS

N/A

SEE ALSO

m68901Sio