001/*----------------------------------------------------------------------------*/ 002/* Copyright (c) FIRST 2008-2017. All Rights Reserved. */ 003/* Open Source Software - may be modified and shared by FRC teams. The code */ 004/* must be accompanied by the FIRST BSD license file in the root directory of */ 005/* the project. */ 006/*----------------------------------------------------------------------------*/ 007 008package edu.wpi.first.wpilibj; 009 010/** 011 * Structure for holding the config data result for PWM. 012 */ 013public class PWMConfigDataResult { 014 015 PWMConfigDataResult(int max, int deadbandMax, int center, int deadbandMin, int min) { 016 this.max = max; 017 this.deadbandMax = deadbandMax; 018 this.center = center; 019 this.deadbandMin = deadbandMin; 020 this.min = min; 021 } 022 023 /** 024 * The maximum PWM value. 025 */ 026 @SuppressWarnings("MemberName") 027 public int max; 028 029 /** 030 * The deadband maximum PWM value. 031 */ 032 @SuppressWarnings("MemberName") 033 public int deadbandMax; 034 035 /** 036 * The center PWM value. 037 */ 038 @SuppressWarnings("MemberName") 039 public int center; 040 041 /** 042 * The deadband minimum PWM value. 043 */ 044 @SuppressWarnings("MemberName") 045 public int deadbandMin; 046 047 /** 048 * The minimum PWM value. 049 */ 050 @SuppressWarnings("MemberName") 051 public int min; 052}