001/*----------------------------------------------------------------------------*/ 002/* Copyright (c) 2008-2018 FIRST. 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 PWMConfigDataResult(int max, int deadbandMax, int center, int deadbandMin, int min) { 015 this.max = max; 016 this.deadbandMax = deadbandMax; 017 this.center = center; 018 this.deadbandMin = deadbandMin; 019 this.min = min; 020 } 021 022 /** 023 * The maximum PWM value. 024 */ 025 @SuppressWarnings("MemberName") 026 public int max; 027 028 /** 029 * The deadband maximum PWM value. 030 */ 031 @SuppressWarnings("MemberName") 032 public int deadbandMax; 033 034 /** 035 * The center PWM value. 036 */ 037 @SuppressWarnings("MemberName") 038 public int center; 039 040 /** 041 * The deadband minimum PWM value. 042 */ 043 @SuppressWarnings("MemberName") 044 public int deadbandMin; 045 046 /** 047 * The minimum PWM value. 048 */ 049 @SuppressWarnings("MemberName") 050 public int min; 051}