usbdrv/peripheral/public/d32usbc.inl
changeset 51 eaaed528d5fd
parent 36 1a2a19ee918d
child 59 bbdce6bffaad
--- a/usbdrv/peripheral/public/d32usbc.inl	Thu Sep 02 22:23:37 2010 +0300
+++ b/usbdrv/peripheral/public/d32usbc.inl	Fri Sep 17 08:40:15 2010 +0300
@@ -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__