Files
allwpilib/hal/src/main/native/sim/CounterInternal.hpp

21 lines
572 B
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.
#pragma once
#include "PortsInternal.hpp"
#include "wpi/hal/handles/HandlesInternal.hpp"
#include "wpi/hal/handles/LimitedHandleResource.hpp"
2025-11-07 20:00:05 -05:00
namespace wpi::hal {
struct Counter {
uint8_t index;
};
extern LimitedHandleResource<HAL_CounterHandle, Counter, kNumCounters,
HAL_HandleEnum::COUNTER>* counterHandles;
2025-11-07 20:00:05 -05:00
} // namespace wpi::hal