WPILibC++  2018.4.1-20180729133221-1141-g00c2cd7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Ports.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) 2016-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 <stdint.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
21 int32_t HAL_GetNumAccumulators(void);
22 
28 int32_t HAL_GetNumAnalogTriggers(void);
29 
35 int32_t HAL_GetNumAnalogInputs(void);
36 
42 int32_t HAL_GetNumAnalogOutputs(void);
43 
49 int32_t HAL_GetNumCounters(void);
50 
56 int32_t HAL_GetNumDigitalHeaders(void);
57 
63 int32_t HAL_GetNumPWMHeaders(void);
64 
70 int32_t HAL_GetNumDigitalChannels(void);
71 
77 int32_t HAL_GetNumPWMChannels(void);
78 
84 int32_t HAL_GetNumDigitalPWMOutputs(void);
85 
91 int32_t HAL_GetNumEncoders(void);
92 
98 int32_t HAL_GetNumInterrupts(void);
99 
105 int32_t HAL_GetNumRelayChannels(void);
106 
112 int32_t HAL_GetNumRelayHeaders(void);
113 
119 int32_t HAL_GetNumPCMModules(void);
120 
126 int32_t HAL_GetNumSolenoidChannels(void);
127 
133 int32_t HAL_GetNumPDPModules(void);
134 
140 int32_t HAL_GetNumPDPChannels(void);
141 #ifdef __cplusplus
142 } // extern "C"
143 #endif