blob: 70fbe54804b709b94dc0e6c76288a0e0987cb3cc [file] [log] [blame]
Brian Silverman8fce7482020-01-05 13:18:21 -08001/*----------------------------------------------------------------------------*/
2/* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */
3/* Open Source Software - may be modified and shared by FRC teams. The code */
4/* must be accompanied by the FIRST BSD license file in the root directory of */
5/* the project. */
6/*----------------------------------------------------------------------------*/
7
8#pragma once
9
10#include "PortsInternal.h"
11#include "hal/handles/HandlesInternal.h"
12#include "hal/handles/LimitedHandleResource.h"
13
14namespace hal {
15
16struct Counter {
17 uint8_t index;
18};
19
20extern LimitedHandleResource<HAL_CounterHandle, Counter, kNumCounters,
21 HAL_HandleEnum::Counter>* counterHandles;
22
23} // namespace hal