Austin Schuh | 812d0d1 | 2021-11-04 20:16:48 -0700 | [diff] [blame^] | 1 | // 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 Silverman | 8fce748 | 2020-01-05 13:18:21 -0800 | [diff] [blame] | 4 | |
| 5 | #pragma once |
| 6 | |
| 7 | #include "PortsInternal.h" |
| 8 | #include "hal/handles/HandlesInternal.h" |
| 9 | #include "hal/handles/LimitedHandleResource.h" |
| 10 | |
| 11 | namespace hal { |
| 12 | |
| 13 | struct Counter { |
| 14 | uint8_t index; |
| 15 | }; |
| 16 | |
| 17 | extern LimitedHandleResource<HAL_CounterHandle, Counter, kNumCounters, |
| 18 | HAL_HandleEnum::Counter>* counterHandles; |
| 19 | |
| 20 | } // namespace hal |