Exemplo n.º 1
0
 /**
  * <summary>
  *   Returns the polarity of a single bit from the I/O port (0 means the I/O works in regular mode, 1 means the I/O  works in reverse mode).
  * <para>
  * </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_bitPolarity(int bitno)
 {
     if (_func == null)
     {
         throw new YoctoApiProxyException("No DigitalIO connected");
     }
     return(_func.get_bitPolarity(bitno));
 }