usbdrv/peripheral/public/d32usbc.inl
changeset 48 21625e5de155
parent 33 089413cdde3c
child 59 bbdce6bffaad
--- a/usbdrv/peripheral/public/d32usbc.inl	Wed Aug 25 15:55:37 2010 +0800
+++ b/usbdrv/peripheral/public/d32usbc.inl	Mon Sep 06 11:27:08 2010 +0800
@@ -696,6 +696,22 @@
 	DoCancel(ERequestOtgFeaturesNotifyCancel);
 	}
 
+inline void RDevUsbcClient::ChargingPortTypeNotify(TRequestStatus& aStatus, TUint& aValue)
+    {
+    DoRequest(ERequestChargingPortTypeNotify, aStatus, &aValue);
+    }
+
+inline void RDevUsbcClient::ChargingPortTypeNotifyCancel()
+    {
+    DoCancel(ERequestChargingPortTypeNotifyCancel);
+    }
+
+inline TInt RDevUsbcClient::ChargerDetectorCaps(TUsbcChargerDetectorProperties& aProperties)
+	{
+	return DoControl(EControlGetChargerDetectorCaps, &aProperties);
+	}
+
+
 
 #endif // #ifndef __KERNEL_MODE__