kernel/eka/include/drivers/mmc.inl
changeset 139 95f71bcdcdb7
parent 33 0173bcd7697c
child 244 a77889bee936
equal deleted inserted replaced
109:b3a1d9898418 139:95f71bcdcdb7
   188 inline TUint TExtendedCSD::BusWidthMode() const {return iData[EBusWidthModeIndex];}
   188 inline TUint TExtendedCSD::BusWidthMode() const {return iData[EBusWidthModeIndex];}
   189 inline TUint TExtendedCSD::BootConfig() const {return iData[EBootConfigIndex];}
   189 inline TUint TExtendedCSD::BootConfig() const {return iData[EBootConfigIndex];}
   190 inline TUint TExtendedCSD::BootBusWidth() const {return iData[EBootBusWidthIndex];}
   190 inline TUint TExtendedCSD::BootBusWidth() const {return iData[EBootBusWidthIndex];}
   191 inline TUint TExtendedCSD::EraseGroupDef() const {return iData[EEraseGroupDefIndex];}
   191 inline TUint TExtendedCSD::EraseGroupDef() const {return iData[EEraseGroupDefIndex];}
   192 
   192 
       
   193 /*
       
   194  * MMC v4.3 specification states the only valid values for CardType are 0x01 or 0x03
       
   195  */
       
   196 inline TBool TExtendedCSD::IsSupportedCardType() const        
       
   197         {
       
   198         switch (CardType()&ECardTypeMsk)
       
   199             {
       
   200             case 0x01:
       
   201             case 0x03: return ETrue;
       
   202             default: return EFalse;
       
   203             }
       
   204         }
       
   205 
   193 //	--------  class TMMCStatus  --------
   206 //	--------  class TMMCStatus  --------
   194  /**
   207  /**
   195  * Constructor for TMMCStatus.
   208  * Constructor for TMMCStatus.
   196  * @param aPtr	A pointer to the memory location containing the 4 bytes to be stored. 
   209  * @param aPtr	A pointer to the memory location containing the 4 bytes to be stored. 
   197  				The 4 bytes corresponds to MMC card response. Refer to the MMC card specification for the possible values of response.
   210  				The 4 bytes corresponds to MMC card response. Refer to the MMC card specification for the possible values of response.