VxWorks Reference Manual : Libraries

nvr4101SIUSio

NAME

nvr4101SIUSio - NEC VR4101 SIU UART tty driver

ROUTINES

nvr4101SIUDevInit( ) - initialization of the NVR4101SIU SIU.
nvr4101SIUInt( ) - interrupt level processing
nvr4101SIUIntMask( ) - Mask interrupts from the SIU.
nvr4101SIUIntUnmask( ) - Unmask interrupts from the SIU.
nvr4101SIUCharToTxWord( ) - Translate character to output word format.

DESCRIPTION

This is the device driver for the nvr4101 UART.

USAGE

A NVR4101_CHAN data structure is used to describe the SIU.

The BSP's sysHwInit( ) routine typically calls sysSerialHwInit( ), which should pass a pointer to an uninitialized NVR4101_CHAN structure to nvr4101SIUDevInit( ). The BSP's sysHwInit2( ) routine typically calls sysSerialHwInit2( ), which connects the chip's interrupts via intConnect( ).

INCLUDE FILES

drv/sio/nvr4101SIUSio.h

SEE ALSO

nvr4101SIUSio


Libraries : Routines

nvr4101SIUDevInit( )

NAME

nvr4101SIUDevInit( ) - initialization of the NVR4101SIU SIU.

SYNOPSIS

void nvr4101SIUDevInit
    (
    NVR4101_SIU_CHAN * pChan
    )

DESCRIPTION

This routine initializes some SIO_CHAN function pointers and then resets the chip in a quiescent state. No initialization of the NVR4101_SIU_CHAN structure is required before this routine is called.

RETURNS

N/A

SEE ALSO

nvr4101SIUSio


Libraries : Routines

nvr4101SIUInt( )

NAME

nvr4101SIUInt( ) - interrupt level processing

SYNOPSIS

void nvr4101SIUInt
    (
    NVR4101_SIU_CHAN * pChan
    )

DESCRIPTION

This routine handles interrupts from the SIU.

RETURNS

N/A

SEE ALSO

nvr4101SIUSio


Libraries : Routines

nvr4101SIUIntMask( )

NAME

nvr4101SIUIntMask( ) - Mask interrupts from the SIU.

SYNOPSIS


void nvr4101SIUIntMask()

DESCRIPTION

This function masks all possible interrupts from the SIU subsystem.

RETURNS

N/A

SEE ALSO

nvr4101SIUSio


Libraries : Routines

nvr4101SIUIntUnmask( )

NAME

nvr4101SIUIntUnmask( ) - Unmask interrupts from the SIU.

SYNOPSIS

		
void nvr4101SIUIntUnmask()

DESCRIPTION

This function unmasks all desired interrupts from the SIU subsystem.

RETURNS

N/A

SEE ALSO

nvr4101SIUSio


Libraries : Routines

nvr4101SIUCharToTxWord( )

NAME

nvr4101SIUCharToTxWord( ) - Translate character to output word format.

SYNOPSIS

UINT16 nvr4101SIUCharToTxWord
    (
    char outChar
    )

DESCRIPTION

This routine performs the bit manipulations required to convert a character into the output word format required by the SIU. This routine only supports 8-bit word lengths, two stop bits and no parity.

RETURNS

The translated output character.

SEE ALSO

nvr4101SIUSio