2016-05-31 23:45:47 -07:00
|
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
|
/* 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;
|
2016-06-05 15:23:58 -07:00
|
|
|
|
|
|
|
|
typedef HalHandle HalPortHandle;
|
2016-06-27 13:36:38 -07:00
|
|
|
|
|
|
|
|
typedef HalHandle HalInterruptHandle;
|
|
|
|
|
|
|
|
|
|
typedef HalHandle HalNotifierHandle;
|
|
|
|
|
|
|
|
|
|
typedef HalHandle HalAnalogOutputHandle;
|
2016-06-27 21:32:30 -07:00
|
|
|
|
|
|
|
|
typedef HalHandle HalAnalogInputHandle;
|
|
|
|
|
|
|
|
|
|
typedef HalHandle HalAnalogTriggerHandle;
|
2016-06-29 18:58:14 -07:00
|
|
|
|
|
|
|
|
typedef HalHandle HalRelayHandle;
|