API Reference: Libraries

 Top

vxbMC146818RtcK

NAME

vxbMC146818RtcK - driver for the MC146818 real time clock

ROUTINES

vxbMc146818RtcDrvRegister( ) - registers the driver for MC146818 RTC

DESCRIPTION

    This is the vxBus compliant driver which implements the functionality
    specific to the the MC146818 real time clock. 

    User application is able to use VxBus custom methods defined for this driver: 
        DEVMETHOD_DEF(vxbRtcGet, "Get RTC");
        DEVMETHOD_DEF(vxbRtcSet, "Set RTC");

    The methods have the following format :

        STATUS vxbRtcGet(VXB_DEVICE_ID pInst, struct tm *pValue);
        STATUS vxbRtcSet(VXB_DEVICE_ID pInst, struct tm *pValue);

API Reference: Routines

 Top

vxbMc146818RtcDrvRegister( )

NAME

vxbMc146818RtcDrvRegister( ) - registers the driver for MC146818 RTC

DESCRIPTION

This routine registers the driver for MC146818 Real Time Clock with the vxBus subsystem.

RETURNS

N/A

ERRNO

SEE ALSO

vxbMC146818RtcK