コード例 #1
0
 /**
  * <summary>
  *   Resets the watchdog.
  * <para>
  *   When the watchdog is running, this function
  *   must be called on a regular basis to prevent the watchdog to
  *   trigger
  * </para>
  * <para>
  * </para>
  * </summary>
  * <returns>
  *   <c>0</c> if the call succeeds.
  * </returns>
  * <para>
  *   On failure, throws an exception or returns a negative error code.
  * </para>
  */
 public int resetWatchdog()
 {
     if (_func == null)
     {
         throw new YoctoApiProxyException("No Watchdog connected");
     }
     return(_func.resetWatchdog());
 }