home *** CD-ROM | disk | FTP | other *** search
- @DATABASE "Device/Timer.h"
- @MASTER "Work2:AD/IInc/Device/Timer.h"
- @REMARK This file was created by ADtoHT 2.0 on 11-Mär-97 13:33:49
- @REMARK Do not edit
- @REMARK ADtoHT is © 1993-1995 Christian Stieber
-
- @NODE MAIN "Device/Timer.h"
- @TOC "__pOS_Dev.guide/MAIN"
-
- @{"Device/Timer.h" LINK File}
-
-
- @{b}Structures@{ub}
-
- @{"pOS_TimerDevice" LINK "Device/Timer.h/File" 57} @{"pOS_TimerIO" LINK "Device/Timer.h/File" 45} @{"pOS_TimeVal" LINK "Device/Timer.h/File" 36}
-
-
- @{b}#defines@{ub}
-
- @{"TIME_MICROS" LINK "Device/Timer.h/File" 31}
-
- @ENDNODE
- @NODE File "Device/Timer.h"
- #ifndef __INC_POS_DEVICE_TIMER_H
- #define __INC_POS_DEVICE_TIMER_H
- /*******************************************************************
- Includes Release 24
- (C) Copyright 1995-1997 proDAD
- All Rights Reserved
-
- $AUT Holger Burkarth
- $DAT >>Timer.h<< 19 Nov 1996 11:24:44 - (C) ProDAD
- *******************************************************************/
- #ifndef __INC_POS_PEXEC_DEVICE_H
- #include <@{"pExec/Device.h" LINK "pExec/Device.h/File"}>
- #endif
-
- enum pOS_TimerDeviceUnitNum
- {
- TIMERUNIT_MicroHz =0, /* */
- TIMERUNIT_VBlank, /* */
- };
-
-
-
- enum pOS_TimerIOReqCommands
- {
- TRCMD_AddRequest= CMD_NONSTD,
- TRCMD_GetSysTime,
- TRCMD_SetSysTime,
- };
-
-
- #define TIME_MICROS 1000000 /* Micros per Sec. */
-
-
- /*----------------------------------
- -----------------------------------*/
- struct pOS_TimeVal
- {
- @{"ULONG" LINK "pExec/Types.h/File" 91} tv_Secs;
- @{"ULONG" LINK "pExec/Types.h/File" 91} tv_Micro;
- };
-
-
- /*----------------------------------
- -----------------------------------*/
- struct pOS_TimerIO
- {
- @{"struct pOS_Message" LINK "pExec/MsgPort.h/File" 41} tio_Message;
- @{"struct pOS_TimerDevice" LINK File 57} *tio_Device; /* device node pointer */
- struct pOS_TimerUnit *tio_Unit; /* unit (driver private) */
- @{"UWORD" LINK "pExec/Types.h/File" 93} tio_Command; /* (enum pOS_IOReqCommands) */
- @{"UBYTE" LINK "pExec/Types.h/File" 95} tio_Flags; /* (enum pOS_IOReqFlags) */
- @{"SBYTE" LINK "pExec/Types.h/File" 94} tio_Error; /* (enum pOS_IOReqErrors) */
- @{"struct pOS_TimeVal" LINK File 36} tio_Time;
- };
-
-
- struct pOS_TimerDevice {@{"struct pOS_Device" LINK "pExec/Device.h/File" 21} Dev; };
-
-
-
- #endif
- @ENDNODE
-