// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.

package org.wpilib.counter;

/** Edge configuration. */
public enum EdgeConfiguration {
  /** Rising edge configuration. */
  RISING_EDGE(true),
  /** Falling edge configuration. */
  FALLING_EDGE(false);

  /** True if triggering on rising edge. */
  public final boolean rising;

  EdgeConfiguration(boolean rising) {
    this.rising = rising;
  }
}
