WPILibC++  unspecified
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
Ports.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) FIRST 2016. 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 <stdint.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 int32_t HAL_GetNumAccumulators(void);
17 int32_t HAL_GetNumAnalogTriggers(void);
18 int32_t HAL_GetNumAnalogInputs(void);
19 int32_t HAL_GetNumAnalogOutputs(void);
20 int32_t HAL_GetNumCounters(void);
21 int32_t HAL_GetNumDigitalHeaders(void);
22 int32_t HAL_GetNumPWMHeaders(void);
23 int32_t HAL_GetNumDigitalChannels(void);
24 int32_t HAL_GetNumPWMChannels(void);
25 int32_t HAL_GetNumDigitalPWMOutputs(void);
26 int32_t HAL_GetNumEncoders(void);
27 int32_t HAL_GetNumInterrupts(void);
28 int32_t HAL_GetNumRelayChannels(void);
29 int32_t HAL_GetNumRelayHeaders(void);
30 int32_t HAL_GetNumPCMModules(void);
31 int32_t HAL_GetNumSolenoidChannels(void);
32 int32_t HAL_GetNumPDPModules(void);
33 int32_t HAL_GetNumPDPChannels(void);
34 #ifdef __cplusplus
35 }
36 #endif