VxWorks Reference Manual : Libraries
shScifSio - Hitachi SH SCIF (Serial Communications Interface) driver
shScifDevInit( ) - initialize a on-chip serial communication interface
shScifIntRcv( ) - handle a channel's receive-character interrupt.
shScifIntTx( ) - handle a channels transmitter-ready interrupt.
shScifIntErr( ) - handle a channel's error interrupt.
dummyCallback( ) - dummy callback routine.
This is the driver for the Hitachi SH series on-chip SCIF (Serial Communication Interface with FIFO). It uses the SCIF in asynchronous mode only.
A SCIF_CHAN structure is used to describe the chip.
The BSP's sysHwInit( ) routine typically calls sysSerialHwInit( ) which initializes all the values in the SCIF_CHAN structure (except the SIO_DRV_FUNCS) before calling shSciDevInit( ). The BSP's sysHwInit2( ) routine typically calls sysSerialHwInit2( ), which connects the chips interrupts via intConnect( ).
drv/sio/shSciSio.h drv/sio/shScifSio.h sioLib.h
shScifDevInit( ) - initialize a on-chip serial communication interface
void shScifDevInit ( SCIF_CHAN * pChan )
This routine initializes the driver function pointers and then resets the chip in a quiescent state. The BSP must have already initialized all the device addresses and the baudFreq fields in the SCIF_CHAN structure before passing it to this routine.
N/A
shScifIntRcv( ) - handle a channel's receive-character interrupt.
void shScifIntRcv ( SCIF_CHAN * pChan /* channel generating the interrupt */ )
N/A
shScifIntTx( ) - handle a channels transmitter-ready interrupt.
void shScifIntTx ( SCIF_CHAN * pChan /* channel generating the interrupt */ )
N/A
shScifIntErr( ) - handle a channel's error interrupt.
void shScifIntErr ( SCIF_CHAN * pChan /* channel generating the interrupt */ )
N/A
dummyCallback( ) - dummy callback routine.
STATUS dummyCallback (void)
ERROR.