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

    #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

      This key defines wether the device supports 64-bit.

      Requirement: Mandatory

      Example:

      1. <dict>
      2. <key>64-bit</key>
      3. <true/>
      4. </dict>
    • kIOPropertyApplicationIDKey

      This key is used to indicate the card application ID.

      Requirement: Optional

      Example:

      1. <dict>
      2. <key>Card Characteristics</key>
      3. <dict>
      4. <key>Product Name</key>
      5. <string>SD32G</string>
      6. <key>Product Revision Level</key>
      7. <string>1.0</string>
      8. <key>Card Type</key>
      9. <string>SDHC</string>
      10. <key>Application ID</key>
      11. <data>ffff</data>
      12. </dict>
      13. </dict>
    • kIOPropertyBaseFrequencyKey

      This key defines the current base frequency for the device.

      Requirement: Mandatory.

      Example:

      1. <dict>
      2. <key>Base Frequency</key>
      3. <integer>50</integer>
      4. </dict>
    • kIOPropertyBusVoltageKey

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

      Requirement: Mandatory.

      Example:

      1. <dict>
      2. <key>Bus Voltage</key>
      3. <integer>3300</integer>
      4. </dict>
      5. </dict>
    • kIOPropertyBusWidthKey

      This key defines the current bus width for the device.

      Requirement: Mandatory.

      Example:

      1. <dict>
      2. <key>Bus Width</key>
      3. <integer>4</integer>
      4. </dict>
    • 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:

      1. <dict>
      2. <key>Card Characteristics</key>
      3. <dict>
      4. <key>Product Name</key>
      5. <string>SD32G</string>
      6. <key>Product Revision Level</key>
      7. <string>1.0</string>
      8. </dict>
      9. </dict>
    • kIOPropertyCardPresentKey

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

      Requirement: Mandatory

      Example:

      1. <dict>
      2. <key>Card Present</key>
      3. <true/>
      4. </dict>
    • kIOPropertyCardTypeKey

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

      Requirement: Optional.

      Example:

      1. <dict>
      2. <key>Card Characteristics</key>
      3. <dict>
      4. <key>Product Name</key>
      5. <string>SD32G</string>
      6. <key>Product Revision Level</key>
      7. <string>1.0</string>
      8. <key>Card Type</key>
      9. <string>MMC</string>
      10. </dict>
      11. </dict>
    • kIOPropertyCardTypeMMCKey

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

      Requirement: Optional.

      Example:

      1. <dict>
      2. <key>Card Characteristics</key>
      3. <dict>
      4. <key>Product Name</key>
      5. <string>SD32G</string>
      6. <key>Product Revision Level</key>
      7. <string>1.0</string>
      8. <key>Card Type</key>
      9. <string>MMC</string>
      10. </dict>
      11. </dict>
    • kIOPropertyCardTypeSDHCKey

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

      Requirement: Optional.

      Example:

      1. <dict>
      2. <key>Card Characteristics</key>
      3. <dict>
      4. <key>Product Name</key>
      5. <string>SD32G</string>
      6. <key>Product Revision Level</key>
      7. <string>1.0</string>
      8. <key>Card Type</key>
      9. <string>SDHC</string>
      10. </dict>
      11. </dict>
    • kIOPropertyCardTypeSDSCKey

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

      Requirement: Optional.

      Example:

      1. <dict>
      2. <key>Card Characteristics</key>
      3. <dict>
      4. <key>Product Name</key>
      5. <string>SD32G</string>
      6. <key>Product Revision Level</key>
      7. <string>1.0</string>
      8. <key>Card Type</key>
      9. <string>SDSC</string>
      10. </dict>
      11. </dict>
    • kIOPropertyCardTypeSDXCKey

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

      Requirement: Optional.

      Example:

      1. <dict>
      2. <key>Card Characteristics</key>
      3. <dict>
      4. <key>Product Name</key>
      5. <string>SD32G</string>
      6. <key>Product Revision Level</key>
      7. <string>1.0</string>
      8. <key>Card Type</key>
      9. <string>SDXC</string>
      10. </dict>
      11. </dict>
    • kIOPropertyClockDivisorKey

      This key defines the current clock divisor for the device.

      Requirement: Mandatory.

      Example:

      1. <dict>
      2. <key>Clock Divisor</key>
      3. <integer>128</integer>
      4. </dict>
    • kIOPropertyManufacturerIDKey

      This key is used to indicate the card manufacturer ID.

      Requirement: Optional

      Example:

      1. <dict>
      2. <key>Card Characteristics</key>
      3. <dict>
      4. <key>Product Name</key>
      5. <string>SD32G</string>
      6. <key>Product Revision Level</key>
      7. <string>1.0</string>
      8. <key>Card Type</key>
      9. <string>SDHC</string>
      10. <key>Manufacturer ID</key>
      11. <data>03</data>
      12. </dict>
      13. </dict>
    • kIOPropertyManufacturingDateKey

      This key is used to indicate the card manufacturing date.

      Requirement: Mandatory.

      Example:

      1. <dict>
      2. <key>Card Characteristics</key>
      3. <dict>
      4. <key>Product Name</key>
      5. <string>SD32G</string>
      6. <key>Product Revision Level</key>
      7. <string>1.0</string>
      8. <key>Card Type</key>
      9. <string>SDHC</string>
      10. <key>Manufacturing Date</key>
      11. <string>2009-12</string>
      12. </dict>
      13. </dict>
    • kIOPropertyProductSerialNumberKey

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

      Requirement: Mandatory

      Example:

      1. <dict>
      2. <key>Card Characteristics</key>
      3. <dict>
      4. <key>Product Name</key>
      5. <string>SD32G</string>
      6. <key>Product Revision Level</key>
      7. <string>1.0</string>
      8. <key>Card Type</key>
      9. <string>SDHC</string>
      10. <key>Serial Number</key>
      11. <data>0045ff</data>
      12. </dict>
      13. </dict>
    • kIOPropertySlotKey

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

      Requirement: Mandatory

      Example:

      1. <dict>
      2. <key>Slot</key>
      3. <integer>1<integer>
      4. </dict>
    • kIOPropertySpecificationVersionKey

      This key is used to indicate the card specification version.

      Requirement: Mandatory.

      Example:

      1. <dict>
      2. <key>Card Characteristics</key>
      3. <dict>
      4. <key>Product Name</key>
      5. <string>SD32G</string>
      6. <key>Product Revision Level</key>
      7. <string>1.0</string>
      8. <key>Card Type</key>
      9. <string>SDHC</string>
      10. <key>Specification Version</key>
      11. <string>3.0</string>
      12. </dict>
      13. </dict>
    • kIOPropertySpeedClassKey

      This key is used to indicate SD card speed class.

      Requirement: Mandatory.

      Example:

      1. <dict>
      2. <key>Card Characteristics</key>
      3. <dict>
      4. <key>Product Name</key>
      5. <string>SD32G</string>
      6. <key>Product Revision Level</key>
      7. <string>1.0</string>
      8. <key>Card Type</key>
      9. <string>SDHC</string>
      10. <key>Speed Class</key>
      11. <data>02</data>
      12. </dict>
      13. </dict>