/// <summary>
 /// Stops the hardware clock on this pin.
 /// </summary>
 public void Stop()
 {
     if (ClockChannel < 0)
     {
         return;
     }
     BoardException.ValidateResult(Pwm.GpioHardwareClock(Pin.PinGpio, 0));
 }
 /// <summary>
 /// Starts the hardware clock on this pin.
 /// All pins sharing the clock channel and running in clock mode will get theis new frequency.
 /// The frequency must be 0 (off) or 4689-250,000,000 (250M) Hz.
 /// </summary>
 /// <param name="frequency">The frequency. 0 (off) or 4689-250000000 (250M).</param>
 public void Start(int frequency)
 {
     if (ClockChannel < 0)
     {
         return;
     }
     BoardException.ValidateResult(Pwm.GpioHardwareClock(Pin.PinGpio, Convert.ToUInt32(frequency)));
 }