VxWorks Reference Manual : Libraries

sab82532

NAME

sab82532 - Siemens SAB 82532 UART tty driver

ROUTINES

sab82532DevInit( ) - intialize an SAB82532 channel
sab82532Int( ) - interrupt level processing

DESCRIPTION

This is the device driver for the sab82532 (D)UART.

USAGE

A SAB82532_CHAN data structure is used to describe each channel on the chip.

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

INCLUDE FILES

drv/sio/ns16552Sio.h

SEE ALSO

sab82532


Libraries : Routines

sab82532DevInit( )

NAME

sab82532DevInit( ) - intialize an SAB82532 channel

SYNOPSIS

void sab82532DevInit
    (
    SAB82532_DUART * pDuart
    )

DESCRIPTION

This routine initializes some SIO_CHAN function pointers and then resets the chip in a quiescent state. Before this routine is called, the BSP must already have initialized all the device addresses, etc. in the SAB82532_CHAN structure.

RETURNS

N/A

SEE ALSO

sab82532


Libraries : Routines

sab82532Int( )

NAME

sab82532Int( ) - interrupt level processing

SYNOPSIS

void sab82532Int
    (
    SAB82532_DUART * pDuart
    )

DESCRIPTION

This routine handles interrupts from the UART.

RETURNS

N/A

SEE ALSO

sab82532