예제 #1
0
 public GpioPinOptions(GpioPinOptions other) : this(msclPINVOKE.new_GpioPinOptions__SWIG_1(GpioPinOptions.getCPtr(other)), true)
 {
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public GpioPinOptionsEnumerator(GpioPinOptions collection)
 {
     collectionRef = collection;
     keyCollection = new global::System.Collections.Generic.List <byte>(collection.Keys);
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
예제 #3
0
        public GpioPinOptions supportedGpioConfigurations()
        {
            GpioPinOptions ret = new GpioPinOptions(msclPINVOKE.MipNodeFeatures_supportedGpioConfigurations(swigCPtr), true);

            if (msclPINVOKE.SWIGPendingException.Pending)
            {
                throw msclPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GpioPinOptions obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }