| enum | SparkParameter : uint8_t {
kCANID = 0
, kInputMode = 1
, kMotorType = 2
, kCommutationAdvance = 3
,
kControlType = 5
, kIdleMode = 6
, kInputDeadband = 7
, kClosedLoopControlSensor = 9
,
kPolePairs = 10
, kCurrentChop = 11
, kCurrentChopCycles = 12
, kP_0 = 13
,
kI_0 = 14
, kD_0 = 15
, kV_0 = 16
, kIZone_0 = 17
,
kDFilter_0 = 18
, kOutputMin_0 = 19
, kOutputMax_0 = 20
, kP_1 = 21
,
kI_1 = 22
, kD_1 = 23
, kV_1 = 24
, kIZone_1 = 25
,
kDFilter_1 = 26
, kOutputMin_1 = 27
, kOutputMax_1 = 28
, kP_2 = 29
,
kI_2 = 30
, kD_2 = 31
, kV_2 = 32
, kIZone_2 = 33
,
kDFilter_2 = 34
, kOutputMin_2 = 35
, kOutputMax_2 = 36
, kP_3 = 37
,
kI_3 = 38
, kD_3 = 39
, kV_3 = 40
, kIZone_3 = 41
,
kDFilter_3 = 42
, kOutputMin_3 = 43
, kOutputMax_3 = 44
, kInverted = 45
,
kLimitSwitchFwdPolarity = 50
, kLimitSwitchRevPolarity = 51
, kHardLimitFwdEn = 52
, kHardLimitRevEn = 53
,
kSoftLimitFwdEn = 54
, kSoftLimitRevEn = 55
, kOpenLoopRampRate = 56
, kLegacyFollowerID = 57
,
kLegacyFollowerConfig = 58
, kSmartCurrentStallLimit = 59
, kSmartCurrentFreeLimit = 60
, kSmartCurrentConfig = 61
,
kSmartCurrentReserved = 62
, kMotorKv = 63
, kEncoderCountsPerRev = 69
, kEncoderAverageDepth = 70
,
kEncoderSampleDelta = 71
, kEncoderInverted = 72
, kVoltageCompensationMode = 74
, kCompensatedNominalVoltage = 75
,
kIMaxAccum_0 = 96
, kAllowedClosedLoopError_0 = 97
, kIMaxAccum_1 = 100
, kAllowedClosedLoopError_1 = 101
,
kIMaxAccum_2 = 104
, kAllowedClosedLoopError_2 = 105
, kIMaxAccum_3 = 108
, kAllowedClosedLoopError_3 = 109
,
kClosedLoopRampRate = 114
, kSoftLimitForward = 115
, kSoftLimitReverse = 116
, kAnalogAverageDepth = 121
,
kAnalogSensorMode = 122
, kAnalogInverted = 123
, kAnalogSampleDelta = 124
, kCompatibilityPortConfig = 127
,
kAltEncoderCountsPerRev = 128
, kAltEncoderAverageDepth = 129
, kAltEncoderSampleDelta = 130
, kAltEncoderInverted = 131
,
kNumParameters = 138
, kDutyCycleInverted = 141
, kDutyCycleAverageDepth = 143
, kDutyCycleOffsetLegacy = 145
,
kDutyCycleRangeOffset = 146
, kPositionPIDWrapEnable = 149
, kDutyCycleSensorPrescaler = 153
, kDutyCycleOffset = 154
,
kProductId = 155
, kDeviceMajorVersion = 156
, kDeviceMinorVersion = 157
, kStatus0Period = 158
,
kStatus1Period = 159
, kStatus2Period = 160
, kStatus3Period = 161
, kStatus4Period = 162
,
kStatus5Period = 163
, kStatus6Period = 164
, kStatus7Period = 165
, kMAXMotionCruiseVelocity_0 = 166
,
kMAXMotionMaxAccel_0 = 167
, kMAXMotionMaxJerk_0 = 168
, kMAXMotionAllowedProfileError_0 = 169
, kMAXMotionPositionMode_0 = 170
,
kMAXMotionCruiseVelocity_1 = 171
, kMAXMotionMaxAccel_1 = 172
, kMAXMotionMaxJerk_1 = 173
, kMAXMotionAllowedProfileError_1 = 174
,
kMAXMotionPositionMode_1 = 175
, kMAXMotionCruiseVelocity_2 = 176
, kMAXMotionMaxAccel_2 = 177
, kMAXMotionMaxJerk_2 = 178
,
kMAXMotionAllowedProfileError_2 = 179
, kMAXMotionPositionMode_2 = 180
, kMAXMotionCruiseVelocity_3 = 181
, kMAXMotionMaxAccel_3 = 182
,
kMAXMotionMaxJerk_3 = 183
, kMAXMotionAllowedProfileError_3 = 184
, kMAXMotionPositionMode_3 = 185
, kForceEnableStatus_0 = 186
,
kForceEnableStatus_1 = 187
, kForceEnableStatus_2 = 188
, kForceEnableStatus_3 = 189
, kForceEnableStatus_4 = 190
,
kForceEnableStatus_5 = 191
, kForceEnableStatus_6 = 192
, kForceEnableStatus_7 = 193
, kFollowerModeLeaderId = 194
,
kFollowerModeIsInverted = 195
, kDutyCycleEncoderStartPulseUs = 196
, kDutyCycleEncoderEndPulseUs = 197
, kParamTableVersion = 198
,
kStatus8Period = 199
, kForceEnableStatus_8 = 200
, kLimitSwitchPositionSensor = 201
, kLimitSwitchFwdPosition = 202
,
kLimitSwitchRevPosition = 203
, kS_0 = 204
, kA_0 = 205
, kG_0 = 206
,
kCos_0 = 207
, kCosRatio_0 = 208
, kS_1 = 209
, kA_1 = 210
,
kG_1 = 211
, kCos_1 = 212
, kCosRatio_1 = 213
, kS_2 = 214
,
kA_2 = 215
, kG_2 = 216
, kCos_2 = 217
, kCosRatio_2 = 218
,
kS_3 = 219
, kA_3 = 220
, kG_3 = 221
, kCos_3 = 222
,
kCosRatio_3 = 223
, kStatus9Period = 224
, kForceEnableStatus_9 = 225
, kDetachedEncoderDeviceID = 226
} |