Files
allwpilib/hal/include/HAL/Handles.h

29 lines
851 B
C
Raw Normal View History

/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2016. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
#pragma once
#include <stdint.h>
#define HAL_INVALID_HANDLE 0
typedef int32_t HalHandle;
typedef HalHandle HalPortHandle;
typedef HalHandle HalInterruptHandle;
typedef HalHandle HalNotifierHandle;
typedef HalHandle HalAnalogOutputHandle;
typedef HalHandle HalAnalogInputHandle;
typedef HalHandle HalAnalogTriggerHandle;
2016-06-29 18:58:14 -07:00
typedef HalHandle HalRelayHandle;