mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
21 lines
572 B
C++
21 lines
572 B
C++
// 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"
|
|
|
|
namespace wpi::hal {
|
|
|
|
struct Counter {
|
|
uint8_t index;
|
|
};
|
|
|
|
extern LimitedHandleResource<HAL_CounterHandle, Counter, kNumCounters,
|
|
HAL_HandleEnum::COUNTER>* counterHandles;
|
|
|
|
} // namespace wpi::hal
|