ADC Home > Reference Library > Reference > Hardware & Drivers > I/O Kit Framework Reference

 


IOTypes.h

Include Path:

<IOKit/IOTypes.h>

Path:

/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/IOTypes.h

Includes:
<mach/message.h>
<mach/vm_types.h>
<IOKit/IOReturn.h>
<stdbool.h>
<libkern/OSTypes.h>
<device/device_types.h>

Overview

This header contains standard types common to all of the I/O Kit.



Enumerations


Scale Factors


enum { 
    kNanosecondScale = 1, 
    kMicrosecondScale = 1000, 
    kMillisecondScale = 1000 * 1000, 
    kSecondScale = 1000 * 1000 * 1000, 
    kTickScale = (
        kSecondScale / 100) 
};  
Constants
kNanosecondScale

Scale factor for nanosecond based times.

kMicrosecondScale

Scale factor for microsecond based times.

kMillisecondScale

Scale factor for millisecond based times.

kTickScale

Scale factor for the standard (100Hz) tick.

kSecondScale

Scale factor for second based times.

Discussion

Used when a scale_factor parameter is required to define a unit of time.


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.

 

Last Updated: 2009-02-23