VxWorks Reference Manual : Libraries

mb86940Sio

NAME

mb86940Sio - MB 86940 UART tty driver

ROUTINES

mb86940DevInit( ) - install the driver function table

DESCRIPTION

This is the driver for the SPARClite MB86930 on-board serial ports.

USAGE

A MB86940_CHAN structure is used to describe the chip.

The BSP's sysHwInit( ) routine typically calls sysSerialHwInit( ), which initializes all the values in the MB86940_CHAN structure (except the SIO_DRV_FUNCS) before calling mb86940DevInit( ). The BSP's sysHwInit2( ) routine typically calls sysSerialHwInit2( ), which connects the chips interrupts via intConnect( ).

IOCTL FUNCTIONS

The UARTs use timer 3 output to generate the following baud rates: 110, 150, 300, 600, 1200, 2400, 4800, 9600, and 19200. Note that the UARTs will operate at the same baud rate.

INCLUDE FILES

drv/sio/mb86940Sio.h

SEE ALSO

mb86940Sio


Libraries : Routines

mb86940DevInit( )

NAME

mb86940DevInit( ) - install the driver function table

SYNOPSIS

void mb86940DevInit
    (
    MB86940_CHAN * pChan
    )

DESCRIPTION

This routine installs the driver function table. It also prevents the serial channel from functioning by disabling the interrupt.

RETURNS

N/A

SEE ALSO

mb86940Sio