Mac Developer Library

Developer

IOStorageCardCharacteristics.h Reference

Options
Deployment Target:

On This Page

IOStorageCardCharacteristics.h Reference

Constants

See the Overview section above for header-level documentation.

  • Declaration

    Objective-C

    #define kIOProperty64BitKey "64-bit" #define kIOPropertyApplicationIDKey "Application ID" #define kIOPropertyBaseFrequencyKey "Base Frequency" #define kIOPropertyBusVoltageKey "Bus Voltage" #define kIOPropertyBusWidthKey "Bus Width" #define kIOPropertyCardCharacteristicsKey "Card Characteristics" #define kIOPropertyCardPresentKey "Card Present" #define kIOPropertyCardTypeKey "Card Type" #define kIOPropertyCardTypeMMCKey "MMC" #define kIOPropertyCardTypeSDHCKey "SDHC" #define kIOPropertyCardTypeSDSCKey "SDSC" #define kIOPropertyCardTypeSDXCKey "SDXC" #define kIOPropertyClockDivisorKey "Clock Divisor" #define kIOPropertyManufacturerIDKey "Manufacturer ID" #define kIOPropertyManufacturingDateKey "Manufacturing Date" #define kIOPropertyProductSerialNumberKey "Serial Number" #define kIOPropertySlotKey "Slot" #define kIOPropertySpecificationVersionKey "Specification Version" #define kIOPropertySpeedClassKey "Speed Class"

    Constants

    • kIOProperty64BitKey

      kIOProperty64BitKey

      This key defines wether the device supports 64-bit.

      Requirement: Mandatory

      Example:

      • <dict>
      • <key>64-bit</key>
      • <true/>
      • </dict>

      Available in OS X v10.7 and later.

    • kIOPropertyApplicationIDKey

      kIOPropertyApplicationIDKey

      This key is used to indicate the card application ID.

      Requirement: Optional

      Example:

      • <dict>
      • <key>Card Characteristics</key>
      • <dict>
      • <key>Product Name</key>
      • <string>SD32G</string>
      • <key>Product Revision Level</key>
      • <string>1.0</string>
      • <key>Card Type</key>
      • <string>SDHC</string>
      • <key>Application ID</key>
      • <data>ffff</data>
      • </dict>
      • </dict>

      Available in OS X v10.7 and later.

    • kIOPropertyBaseFrequencyKey

      kIOPropertyBaseFrequencyKey

      This key defines the current base frequency for the device.

      Requirement: Mandatory.

      Example:

      • <dict>
      • <key>Base Frequency</key>
      • <integer>50</integer>
      • </dict>

      Available in OS X v10.7 and later.

    • kIOPropertyBusVoltageKey

      kIOPropertyBusVoltageKey

      This key defines the current bus voltage for the device in mV

      Requirement: Mandatory.

      Example:

      • <dict>
      • <key>Bus Voltage</key>
      • <integer>3300</integer>
      • </dict>
      • </dict>

      Available in OS X v10.7 and later.

    • kIOPropertyBusWidthKey

      kIOPropertyBusWidthKey

      This key defines the current bus width for the device.

      Requirement: Mandatory.

      Example:

      • <dict>
      • <key>Bus Width</key>
      • <integer>4</integer>
      • </dict>

      Available in OS X v10.7 and later.

    • kIOPropertyCardCharacteristicsKey

      kIOPropertyCardCharacteristicsKey

      This key is used to define Card Characteristics for a particular piece of MMC/SD media and it has an associated dictionary which lists the card characteristics.

      Requirement: Mandatory

      Example:

      • <dict>
      • <key>Card Characteristics</key>
      • <dict>
      • <key>Product Name</key>
      • <string>SD32G</string>
      • <key>Product Revision Level</key>
      • <string>1.0</string>
      • </dict>
      • </dict>

      Available in OS X v10.7 and later.

    • kIOPropertyCardPresentKey

      kIOPropertyCardPresentKey

      This key defines wether a MMC or SD card is physically present.

      Requirement: Mandatory

      Example:

      • <dict>
      • <key>Card Present</key>
      • <true/>
      • </dict>

      Available in OS X v10.7 and later.

    • kIOPropertyCardTypeKey

      kIOPropertyCardTypeKey

      This key is used to indicate the card type is MMC.

      Requirement: Optional.

      Example:

      • <dict>
      • <key>Card Characteristics</key>
      • <dict>
      • <key>Product Name</key>
      • <string>SD32G</string>
      • <key>Product Revision Level</key>
      • <string>1.0</string>
      • <key>Card Type</key>
      • <string>MMC</string>
      • </dict>
      • </dict>

      Available in OS X v10.7 and later.

    • kIOPropertyCardTypeMMCKey

      kIOPropertyCardTypeMMCKey

      This key is used to indicate the card type is MMC.

      Requirement: Optional.

      Example:

      • <dict>
      • <key>Card Characteristics</key>
      • <dict>
      • <key>Product Name</key>
      • <string>SD32G</string>
      • <key>Product Revision Level</key>
      • <string>1.0</string>
      • <key>Card Type</key>
      • <string>MMC</string>
      • </dict>
      • </dict>

      Available in OS X v10.7 and later.

    • kIOPropertyCardTypeSDHCKey

      kIOPropertyCardTypeSDHCKey

      This key is used to indicate the card type is SDHC.

      Requirement: Optional.

      Example:

      • <dict>
      • <key>Card Characteristics</key>
      • <dict>
      • <key>Product Name</key>
      • <string>SD32G</string>
      • <key>Product Revision Level</key>
      • <string>1.0</string>
      • <key>Card Type</key>
      • <string>SDHC</string>
      • </dict>
      • </dict>

      Available in OS X v10.7 and later.

    • kIOPropertyCardTypeSDSCKey

      kIOPropertyCardTypeSDSCKey

      This key is used to indicate the card type is SDSC.

      Requirement: Optional.

      Example:

      • <dict>
      • <key>Card Characteristics</key>
      • <dict>
      • <key>Product Name</key>
      • <string>SD32G</string>
      • <key>Product Revision Level</key>
      • <string>1.0</string>
      • <key>Card Type</key>
      • <string>SDSC</string>
      • </dict>
      • </dict>

      Available in OS X v10.7 and later.

    • kIOPropertyCardTypeSDXCKey

      kIOPropertyCardTypeSDXCKey

      This key is used to indicate the card type is SDXC.

      Requirement: Optional.

      Example:

      • <dict>
      • <key>Card Characteristics</key>
      • <dict>
      • <key>Product Name</key>
      • <string>SD32G</string>
      • <key>Product Revision Level</key>
      • <string>1.0</string>
      • <key>Card Type</key>
      • <string>SDXC</string>
      • </dict>
      • </dict>

      Available in OS X v10.7 and later.

    • kIOPropertyClockDivisorKey

      kIOPropertyClockDivisorKey

      This key defines the current clock divisor for the device.

      Requirement: Mandatory.

      Example:

      • <dict>
      • <key>Clock Divisor</key>
      • <integer>128</integer>
      • </dict>

      Available in OS X v10.7 and later.

    • kIOPropertyManufacturerIDKey

      kIOPropertyManufacturerIDKey

      This key is used to indicate the card manufacturer ID.

      Requirement: Optional

      Example:

      • <dict>
      • <key>Card Characteristics</key>
      • <dict>
      • <key>Product Name</key>
      • <string>SD32G</string>
      • <key>Product Revision Level</key>
      • <string>1.0</string>
      • <key>Card Type</key>
      • <string>SDHC</string>
      • <key>Manufacturer ID</key>
      • <data>03</data>
      • </dict>
      • </dict>

      Available in OS X v10.7 and later.

    • kIOPropertyManufacturingDateKey

      kIOPropertyManufacturingDateKey

      This key is used to indicate the card manufacturing date.

      Requirement: Mandatory.

      Example:

      • <dict>
      • <key>Card Characteristics</key>
      • <dict>
      • <key>Product Name</key>
      • <string>SD32G</string>
      • <key>Product Revision Level</key>
      • <string>1.0</string>
      • <key>Card Type</key>
      • <string>SDHC</string>
      • <key>Manufacturing Date</key>
      • <string>2009-12</string>
      • </dict>
      • </dict>

      Available in OS X v10.7 and later.

    • kIOPropertyProductSerialNumberKey

      kIOPropertyProductSerialNumberKey

      This key is used to indicate the card serial number ID.

      Requirement: Mandatory

      Example:

      • <dict>
      • <key>Card Characteristics</key>
      • <dict>
      • <key>Product Name</key>
      • <string>SD32G</string>
      • <key>Product Revision Level</key>
      • <string>1.0</string>
      • <key>Card Type</key>
      • <string>SDHC</string>
      • <key>Serial Number</key>
      • <data>0045ff</data>
      • </dict>
      • </dict>

      Available in OS X v10.4 and later.

    • kIOPropertySlotKey

      kIOPropertySlotKey

      This key is used to define the slot number for the device

      Requirement: Mandatory

      Example:

      • <dict>
      • <key>Slot</key>
      • <integer>1<integer>
      • </dict>

      Available in OS X v10.7 and later.

    • kIOPropertySpecificationVersionKey

      kIOPropertySpecificationVersionKey

      This key is used to indicate the card specification version.

      Requirement: Mandatory.

      Example:

      • <dict>
      • <key>Card Characteristics</key>
      • <dict>
      • <key>Product Name</key>
      • <string>SD32G</string>
      • <key>Product Revision Level</key>
      • <string>1.0</string>
      • <key>Card Type</key>
      • <string>SDHC</string>
      • <key>Specification Version</key>
      • <string>3.0</string>
      • </dict>
      • </dict>

      Available in OS X v10.7 and later.

    • kIOPropertySpeedClassKey

      kIOPropertySpeedClassKey

      This key is used to indicate SD card speed class.

      Requirement: Mandatory.

      Example:

      • <dict>
      • <key>Card Characteristics</key>
      • <dict>
      • <key>Product Name</key>
      • <string>SD32G</string>
      • <key>Product Revision Level</key>
      • <string>1.0</string>
      • <key>Card Type</key>
      • <string>SDHC</string>
      • <key>Speed Class</key>
      • <data>02</data>
      • </dict>
      • </dict>

      Available in OS X v10.7 and later.