VxWorks Reference Manual : Libraries
nvr4101SIUSio - NEC VR4101 SIU UART tty driver
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.
This is the device driver for the nvr4101 UART.
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( ).
drv/sio/nvr4101SIUSio.h
nvr4101SIUDevInit( ) - initialization of the NVR4101SIU SIU.
void nvr4101SIUDevInit ( NVR4101_SIU_CHAN * pChan )
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.
N/A
nvr4101SIUInt( ) - interrupt level processing
void nvr4101SIUInt ( NVR4101_SIU_CHAN * pChan )
This routine handles interrupts from the SIU.
N/A
nvr4101SIUIntMask( ) - Mask interrupts from the SIU.
void nvr4101SIUIntMask()
This function masks all possible interrupts from the SIU subsystem.
N/A
nvr4101SIUIntUnmask( ) - Unmask interrupts from the SIU.
void nvr4101SIUIntUnmask()
This function unmasks all desired interrupts from the SIU subsystem.
N/A
nvr4101SIUCharToTxWord( ) - Translate character to output word format.
UINT16 nvr4101SIUCharToTxWord ( char outChar )
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.
The translated output character.