API Guide Home (Online version only) |

# palmOneHiResTimerCommon.h File Reference

## Detailed Description

Public 68k common header file for Hi-Resolution Timer API.

Version:
  1.0

This file contains the common library constants and error codes.

Definition in file palmOneHiResTimerCommon.h.

Include dependency graph for palmOneHiResTimerCommon.h:

Go to the source code of this file.

## Defines

- #define kHiResTimeLibType 'libr'
- #define kHiResTimeLibCreator 'pHRT'
- #define kHiResTimeLibName "HRTimer-Lib"

Library Versions

- #define kHiResTimeLibVersion1 sysMakeROMVersion(1, 0, 0, sysROMStageRelease, 0)
- #define kHiResTimeLibVersion2 sysMakeROMVersion(2, 0, 0, sysROMStageRelease, 0)
- #define kHiResTimeLibVersion kCamLibVersion2

Error Codes

- #define kHiResTimeErrorClass (oemErrorClass + 0x100)
- #define kHiResTimeLibErrBadParam (kHiResTimeErrorClass | 0x01)
- #define kHiResTimeLibErrNotOpen (kHiResTimeErrorClass | 0x02)
- #define kHiResTimeLibErrStillOpen (kHiResTimeErrorClass | 0x03)
- #define kHiResTimeLibErrNotAvailable (kHiResTimeErrorClass | 0x04)

Function Traps

- #define kHRLibTrapTimerTicksPerSecond (sysLibTrapCustom)
- #define kHRLibTrapTimerGetTime (sysLibTrapCustom+1)

## Define Documentation

#define kHiResTimeErrorClass (oemErrorClass + 0x100)

Hi-Res timer base error number

Definition at line 72 of file palmOneHiResTimerCommon.h.

#define kHiResTimeLibCreator 'pHRT'

Hi-Res timer library database creator

Definition at line 42 of file palmOneHiResTimerCommon.h.

#define kHiResTimeLibErrBadParam (kHiResTimeErrorClass | 0x01)

Bad Parameter

Definition at line 74 of file palmOneHiResTimerCommon.h.

#define kHiResTimeLibErrNotAvailable (kHiResTimeErrorClass | 0x04)

Fucntion not availabe - If returned by HRTimeLibOpen, there is no HiRes Timer available.

Definition at line 80 of file palmOneHiResTimerCommon.h.

#define kHiResTimeLibErrNotOpen (kHiResTimeErrorClass | 0x02)

Library is not open

Definition at line 76 of file palmOneHiResTimerCommon.h.

#define kHiResTimeLibErrStillOpen (kHiResTimeErrorClass | 0x03)

Returned from HRTimeLibClose() if the library is still open

Definition at line 78 of file palmOneHiResTimerCommon.h.

#define kHiResTimeLibName "HRTimer-Lib"

Hi-Res timer library name

Definition at line 48 of file palmOneHiResTimerCommon.h.

#define kHiResTimeLibType 'libr'

Hi-Res timer library database type

Definition at line 41 of file palmOneHiResTimerCommon.h.

#define kHiResTimeLibVersion kCamLibVersion2

Hi-Res timer library version 2

Definition at line 60 of file palmOneHiResTimerCommon.h.

#define kHiResTimeLibVersion1 sysMakeROMVersion(1, 0, 0, sysROMStageRelease, 0)

Hi-Res timer library version 1

Definition at line 58 of file palmOneHiResTimerCommon.h.

#define kHiResTimeLibVersion2 sysMakeROMVersion(2, 0, 0, sysROMStageRelease, 0)

Hi-Res timer library version 2

Definition at line 59 of file palmOneHiResTimerCommon.h.

#define kHRLibTrapTimerGetTime (sysLibTrapCustom+1)

Definition at line 92 of file palmOneHiResTimerCommon.h.

#define kHRLibTrapTimerTicksPerSecond (sysLibTrapCustom)

Definition at line 91 of file palmOneHiResTimerCommon.h.

Top | Palm Developer Network © 2004-2008, Palm, Inc. All rights reserved. Generated on Fri Jun 13 10:07:50 2008 for Palm API Guide