VxWorks Reference Manual : Libraries
ppc860Sio - Motorola MPC800 SMC UART serial driver
ppc860DevInit( ) - initialize the SMC
ppc860Int( ) - handle an SMC interrupt
This is the driver for the SMCs in the internal Communications Processor (CP) of the Motorola MPC68860/68821. This driver only supports the SMCs in asynchronous UART mode.
A PPC800SMC_CHAN structure is used to describe the chip. The BSP's sysHwInit( ) routine typically calls sysSerialHwInit( ), which initializes all the values in the PPC860SMC_CHAN structure (except the SIO_DRV_FUNCS) before calling ppc860DevInit( ).
The BSP's sysHwInit2( ) routine typically calls sysSerialHwInit2( ) which connects the chip's interrupts via intConnect( ).
drv/sio/ppc860Sio.h
ppc860DevInit( ) - initialize the SMC
void ppc860DevInit ( PPC860SMC_CHAN * pChan )
This routine is called to initialize the chip to a quiescent state. Note that the smcNum field of PPC860SMC_CHAN must be either 1 or 2.
ppc860Int( ) - handle an SMC interrupt
void ppc860Int ( PPC860SMC_CHAN * pChan )
This routine is called to handle SMC interrupts.