vxbW83627wdtK - Driver for the watchdog
vxbW83627wdtDrvRegister( ) - register template driver
W83627wdtInstInit( ) - first level initialization routine of device
W83627wdtInstInit2( ) - second level initialization routine of device
W83627wdtInstConnect( ) - third level initialization routine of device
W83627wdtWDTCount( ) - Reload counter with new value
W83627wdtWDTCountGet( ) - Get current WDT value
W83627wdtWDTMode( ) - Set time unit for WDT
W83627wdtWDTDisable( ) - Disable WDT module
W83627wdtWDTEnable( ) - Enable WDT module
This driver provides support for the Winbond W83627 watchdog.
There are functions available to run/reload/stop and set time base unit.
vxbW83627wdtDrvRegister( ) - register template driver
This routine registers the template driver with the VxBus subsystem.
This routine contains the first instructions of the device driver that are ever executed within a VxWorks system. This function registers the driver with VxBus by providing pointers to the data structures listed previously. Once this step is complete, VxWorks is able to associate this driver with appropriate hardware within the system to form an instance.
N/A
Not Available
W83627wdtInstInit( ) - first level initialization routine of device
This is the function called to perform the first level initialization of the template device.
This routine is called early during system initialization, and *MUST NOT* make calls to OS facilities such as memory allocation and I/O.
N/A
Not Available
W83627wdtInstInit2( ) - second level initialization routine of device
This routine performs the second level initialization of the device.
This routine is called later during system initialization. OS features such as memory allocation are available at this time.
N/A
Not Available
W83627wdtInstConnect( ) - third level initialization routine of device
This is the function called to perform the third level initialization of the device.
N/A
Not Available
W83627wdtWDTCount( ) - Reload counter with new value
Reload WDT counter with new value, in case of zero value force the WDT trigger
pInst - device identifier
uDelay - delay value
OK, or ERROR
Not Available
W83627wdtWDTCountGet( ) - Get current WDT value
Obtain current value of WDT counter
pInst - device identifier
pDelay - delay value
OK, or ERROR
Not Available
W83627wdtWDTMode( ) - Set time unit for WDT
Set Watchdog time unit, depends on function parameter "fMode":
TRUE = seconds
FALSE = minutes
pInst - device identifier
fMode - Sec/Min mode selector
OK, or ERROR
Not Available
W83627wdtWDTDisable( ) - Disable WDT module
Disable watchdog to control target, but it may be utilized as a countdown counter
pInst - device identifier
OK, or ERROR
Not Available
W83627wdtWDTEnable( ) - Enable WDT module
Enable watchdog to control target, but it should be enabled in BIOS too.
(only BIOS afford to route WDT output to CPU reset)
To prevent undesirable reset this routine updates WDT counter with maximum value (0xFF)
pInst - device identifier
OK, or ERROR
Not Available