Пример #1
0
 /**
  * <summary>
  *   Returns the direction of a single bit (i.e.
  * <para>
  *   channel) from the I/O port (0 means the bit is an input, 1  an output).
  * </para>
  * </summary>
  * <param name="bitno">
  *   the bit number; lowest bit has index 0
  * </param>
  * <returns>
  *   <c>0</c> if the call succeeds.
  * </returns>
  * <para>
  *   On failure, throws an exception or returns a negative error code.
  * </para>
  */
 public virtual int get_bitDirection(int bitno)
 {
     if (_func == null)
     {
         throw new YoctoApiProxyException("No DigitalIO connected");
     }
     return(_func.get_bitDirection(bitno));
 }