Files
allwpilib/hal/src/main/native/sim/PortsInternal.h

31 lines
1.1 KiB
C
Raw Normal View History

// 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 {
constexpr int32_t kNumAccumulators = 2;
constexpr int32_t kNumAnalogTriggers = 8;
2016-07-02 23:19:14 -07:00
constexpr int32_t kNumAnalogInputs = 8;
constexpr int32_t kNumAnalogOutputs = 2;
constexpr int32_t kNumCounters = 8;
2016-07-02 23:19:14 -07:00
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;
2016-07-02 23:19:14 -07:00
constexpr int32_t kNumPCMModules = 63;
constexpr int32_t kNumSolenoidChannels = 8;
2016-07-02 23:19:14 -07:00
constexpr int32_t kNumPDPModules = 63;
constexpr int32_t kNumPDPChannels = 16;
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;
} // namespace hal