mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
34 lines
1.4 KiB
C++
34 lines
1.4 KiB
C++
/*----------------------------------------------------------------------------*/
|
|
/* Copyright (c) 2016-2020 FIRST. All Rights Reserved. */
|
|
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
|
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
|
/* the project. */
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace hal {
|
|
constexpr int32_t kNumAccumulators = 2;
|
|
constexpr int32_t kNumAnalogTriggers = 8;
|
|
constexpr int32_t kNumAnalogInputs = 8;
|
|
constexpr int32_t kNumAnalogOutputs = 2;
|
|
constexpr int32_t kNumCounters = 8;
|
|
constexpr int32_t kNumDigitalHeaders = 10;
|
|
constexpr int32_t kNumPWMHeaders = 10;
|
|
constexpr int32_t kNumDigitalChannels = 31;
|
|
constexpr int32_t kNumPWMChannels = 20;
|
|
constexpr int32_t kNumDigitalPWMOutputs = 6;
|
|
constexpr int32_t kNumEncoders = 8;
|
|
constexpr int32_t kNumInterrupts = 8;
|
|
constexpr int32_t kNumRelayChannels = 8;
|
|
constexpr int32_t kNumRelayHeaders = kNumRelayChannels / 2;
|
|
constexpr int32_t kNumPCMModules = 63;
|
|
constexpr int32_t kNumSolenoidChannels = 8;
|
|
constexpr int32_t kNumPDPModules = 63;
|
|
constexpr int32_t kNumPDPChannels = 16;
|
|
constexpr int32_t kNumDutyCycles = 8;
|
|
constexpr int32_t kNumAddressableLEDs = 1;
|
|
} // namespace hal
|