- Code/Resource
- Windows Develop
- Linux-Unix program
- Internet-Socket-Network
- Web Server
- Browser Client
- Ftp Server
- Ftp Client
- Browser Plugins
- Proxy Server
- Email Server
- Email Client
- WEB Mail
- Firewall-Security
- Telnet Server
- Telnet Client
- ICQ-IM-Chat
- Search Engine
- Sniffer Package capture
- Remote Control
- xml-soap-webservice
- P2P
- WEB(ASP,PHP,...)
- TCP/IP Stack
- SNMP
- Grid Computing
- SilverLight
- DNS
- Cluster Service
- Network Security
- Communication-Mobile
- Game Program
- Editor
- Multimedia program
- Graph program
- Compiler program
- Compress-Decompress algrithms
- Crypt_Decrypt algrithms
- Mathimatics-Numerical algorithms
- MultiLanguage
- Disk/Storage
- Java Develop
- assembly language
- Applications
- Other systems
- Database system
- Embeded-SCM Develop
- FlashMX/Flex
- source in ebook
- Delphi VCL
- OS Develop
- MiddleWare
- MPI
- MacOS develop
- LabView
- ELanguage
- Software/Tools
- E-Books
- Artical/Document
seqDrv.c
Package: vxwork_src.rar [view]
Upload User: nvosite88
Upload Date: 2007-01-17
Package Size: 4983k
Code Size: 2k
Category:
VxWorks
Development Platform:
C/C++
- /* seqDrv.c - sequential timer driver */
- /* Copyright 1984-1995 Wind River Systems, Inc. */
- #include "copyright_wrs.h"
- /*
- modification history
- --------------------
- 01c,01feb95,rhp mark library man page NOMANUAL (per jdi)
- 01b,17jan94,smb added documentation
- 01a,10dec93,smb created
- */
- /*
- DESCRIPTION
- This driver contains the routines used to maintain a sequential timer.
- In WindView, this driver is used if a timestamp driver is not available
- or disabled for the target board. Events are tagged with a sequence number
- in the order they occur on the target. When displayed in WindView, they
- are spaced equidistantly along the timeline.
- INCLUDE FILES:
- SEE ALSO:
- NOMANUAL
- */
- #include "vxWorks.h"
- #include "private/seqDrvP.h"
- /* locals */
- static int sequence; /* a static variable used to hold the sequence */
- /*******************************************************************************
- *
- * seqStamp - implements a sequencer.
- *
- * NOMANUAL
- */
- UINT32 seqStamp (void)
- {
- sequence++;
- return (sequence);
- }
- /*******************************************************************************
- *
- * seqStampLock - implements a sequencer.
- *
- * NOMANUAL
- */
- UINT32 seqStampLock (void)
- {
- sequence++;
- return (sequence);
- }
- /*******************************************************************************
- *
- * seqEnable - Enable the sequencer
- *
- * NOMANUAL
- */
- STATUS seqEnable (void)
- {
- sequence = 0;
- return (OK);
- }
- /*******************************************************************************
- *
- * seqDisable - disable the sequencer
- *
- * NOMANUAL
- */
- STATUS seqDisable (void)
- {
- return (OK);
- }
- /*******************************************************************************
- *
- * seqConnect - connect to a sequencer.
- *
- * NOMANUAL
- */
- STATUS seqConnect
- (
- FUNCPTR dummy,
- int dummyArg
- )
- {
- return (OK);
- }
- /*******************************************************************************
- *
- * seqPeriod - period of sequencer.
- *
- * NOMANUAL
- */
- UINT32 seqPeriod (void)
- {
- return (0xffffffff);
- }
- /*******************************************************************************
- *
- * seqFreq - frequency of sequencer
- *
- * NOMANUAL
- */
- UINT32 seqFreq (void)
- {
- return (1);
- }