Exemplo n.º 1
0
 public GpioPinOptions(GpioPinOptions other) : this(msclPINVOKE.new_GpioPinOptions__SWIG_1(GpioPinOptions.getCPtr(other)), true)
 {
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 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;
 }
Exemplo n.º 3
0
        public GpioPinOptions supportedGpioConfigurations()
        {
            GpioPinOptions ret = new GpioPinOptions(msclPINVOKE.MipNodeFeatures_supportedGpioConfigurations(swigCPtr), true);

            if (msclPINVOKE.SWIGPendingException.Pending)
            {
                throw msclPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 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);
 }