2020-12-26 14:12:05 -08:00
|
|
|
// 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.
|
2016-07-02 23:19:14 -07:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
|
|
namespace hal {
|
2022-02-10 03:12:07 -05:00
|
|
|
constexpr int32_t kAccelerometers = 1;
|
2017-08-18 21:35:53 -07:00
|
|
|
constexpr int32_t kNumAccumulators = 2;
|
|
|
|
|
constexpr int32_t kNumAnalogTriggers = 8;
|
2016-07-02 23:19:14 -07:00
|
|
|
constexpr int32_t kNumAnalogInputs = 8;
|
2017-08-18 21:35:53 -07:00
|
|
|
constexpr int32_t kNumAnalogOutputs = 2;
|
|
|
|
|
constexpr int32_t kNumCounters = 8;
|
2016-07-02 23:19:14 -07:00
|
|
|
constexpr int32_t kNumDigitalHeaders = 10;
|
2017-08-18 21:35:53 -07:00
|
|
|
constexpr int32_t kNumPWMHeaders = 10;
|
2020-01-15 18:58:14 -08:00
|
|
|
constexpr int32_t kNumDigitalChannels = 31;
|
2017-08-18 21:35:53 -07:00
|
|
|
constexpr int32_t kNumPWMChannels = 20;
|
|
|
|
|
constexpr int32_t kNumDigitalPWMOutputs = 6;
|
|
|
|
|
constexpr int32_t kNumEncoders = 8;
|
2022-02-10 03:12:07 -05:00
|
|
|
constexpr int32_t kI2CPorts = 2;
|
2017-08-18 21:35:53 -07:00
|
|
|
constexpr int32_t kNumInterrupts = 8;
|
2016-08-12 13:45:28 -07:00
|
|
|
constexpr int32_t kNumRelayChannels = 8;
|
|
|
|
|
constexpr int32_t kNumRelayHeaders = kNumRelayChannels / 2;
|
2021-06-05 22:36:39 -07:00
|
|
|
constexpr int32_t kNumCTREPCMModules = 63;
|
|
|
|
|
constexpr int32_t kNumCTRESolenoidChannels = 8;
|
2021-08-14 11:44:56 -07:00
|
|
|
constexpr int32_t kNumCTREPDPModules = 63;
|
|
|
|
|
constexpr int32_t kNumCTREPDPChannels = 16;
|
|
|
|
|
constexpr int32_t kNumREVPDHModules = 63;
|
|
|
|
|
constexpr int32_t kNumREVPDHChannels = 24;
|
2022-02-10 03:12:07 -05:00
|
|
|
constexpr int32_t kNumPDSimModules = kNumREVPDHModules;
|
|
|
|
|
constexpr int32_t kNumPDSimChannels = kNumREVPDHChannels;
|
2019-11-01 23:41:30 -07:00
|
|
|
constexpr int32_t kNumDutyCycles = 8;
|
2019-11-17 15:05:56 -08:00
|
|
|
constexpr int32_t kNumAddressableLEDs = 1;
|
2021-10-10 20:04:50 -07:00
|
|
|
constexpr int32_t kNumREVPHModules = 63;
|
|
|
|
|
constexpr int32_t kNumREVPHChannels = 16;
|
2022-02-10 03:12:07 -05:00
|
|
|
constexpr int32_t kSPIAccelerometers = 5;
|
|
|
|
|
constexpr int32_t kSPIPorts = 5;
|
|
|
|
|
|
2016-07-10 17:47:44 -07:00
|
|
|
} // namespace hal
|