001// Copyright (c) FIRST and other WPILib contributors.
002// Open Source Software; you can modify and/or share it under the terms of
003// the WPILib BSD license file in the root directory of this project.
004
005package edu.wpi.first.hal;
006
007/** Structure for holding the config data result for PWM. */
008public class PWMConfigDataResult {
009  PWMConfigDataResult(int max, int deadbandMax, int center, int deadbandMin, int min) {
010    this.max = max;
011    this.deadbandMax = deadbandMax;
012    this.center = center;
013    this.deadbandMin = deadbandMin;
014    this.min = min;
015  }
016
017  /** The maximum PWM value. */
018  @SuppressWarnings("MemberName")
019  public int max;
020
021  /** The deadband maximum PWM value. */
022  @SuppressWarnings("MemberName")
023  public int deadbandMax;
024
025  /** The center PWM value. */
026  @SuppressWarnings("MemberName")
027  public int center;
028
029  /** The deadband minimum PWM value. */
030  @SuppressWarnings("MemberName")
031  public int deadbandMin;
032
033  /** The minimum PWM value. */
034  @SuppressWarnings("MemberName")
035  public int min;
036}