blob: 81433fa4b8364b0c4307d1623db1c9d99a0698e6 [file] [log] [blame]
Austin Schuh812d0d12021-11-04 20:16:48 -07001// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
Brian Silverman8fce7482020-01-05 13:18:21 -08004
5#pragma once
6
7#include "PortsInternal.h"
8#include "hal/handles/HandlesInternal.h"
9#include "hal/handles/LimitedHandleResource.h"
10
11namespace hal {
12
13struct Counter {
14 uint8_t index;
15};
16
17extern LimitedHandleResource<HAL_CounterHandle, Counter, kNumCounters,
18 HAL_HandleEnum::Counter>* counterHandles;
19
20} // namespace hal