WPILibC++  2019.1.1-beta-4-27-ga2368a6
 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 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
27 int32_t HAL_GetNumAccumulators(void);
28 
34 int32_t HAL_GetNumAnalogTriggers(void);
35 
41 int32_t HAL_GetNumAnalogInputs(void);
42 
48 int32_t HAL_GetNumAnalogOutputs(void);
49 
55 int32_t HAL_GetNumCounters(void);
56 
62 int32_t HAL_GetNumDigitalHeaders(void);
63 
69 int32_t HAL_GetNumPWMHeaders(void);
70 
76 int32_t HAL_GetNumDigitalChannels(void);
77 
83 int32_t HAL_GetNumPWMChannels(void);
84 
90 int32_t HAL_GetNumDigitalPWMOutputs(void);
91 
97 int32_t HAL_GetNumEncoders(void);
98 
104 int32_t HAL_GetNumInterrupts(void);
105 
111 int32_t HAL_GetNumRelayChannels(void);
112 
118 int32_t HAL_GetNumRelayHeaders(void);
119 
125 int32_t HAL_GetNumPCMModules(void);
126 
132 int32_t HAL_GetNumSolenoidChannels(void);
133 
139 int32_t HAL_GetNumPDPModules(void);
140 
146 int32_t HAL_GetNumPDPChannels(void);
147 #ifdef __cplusplus
148 } // extern "C"
149 #endif
150 
int32_t HAL_GetNumDigitalHeaders(void)
Gets the number of digital headers in the current system.
int32_t HAL_GetNumAccumulators(void)
Gets the number of analog accumulators in the current system.
int32_t HAL_GetNumPDPModules(void)
Gets the number of PDP modules in the current system.
int32_t HAL_GetNumRelayChannels(void)
Gets the number of relay channels in the current system.
int32_t HAL_GetNumInterrupts(void)
Gets the number of interrupts in the current system.
int32_t HAL_GetNumEncoders(void)
Gets the number of quadrature encoders in the current system.
int32_t HAL_GetNumPWMChannels(void)
Gets the number of PWM channels in the current system.
int32_t HAL_GetNumAnalogTriggers(void)
Gets the number of analog triggers in the current system.
int32_t HAL_GetNumRelayHeaders(void)
Gets the number of relay headers in the current system.
int32_t HAL_GetNumPWMHeaders(void)
Gets the number of PWM headers in the current system.
int32_t HAL_GetNumCounters(void)
Gets the number of analog counters in the current system.
int32_t HAL_GetNumAnalogInputs(void)
Gets the number of analog inputs in the current system.
int32_t HAL_GetNumDigitalPWMOutputs(void)
Gets the number of digital IO PWM outputs in the current system.
int32_t HAL_GetNumPDPChannels(void)
Gets the number of PDP channels in the current system.
int32_t HAL_GetNumDigitalChannels(void)
Gets the number of digital channels in the current system.
int32_t HAL_GetNumSolenoidChannels(void)
Gets the number of solenoid channels in the current system.
int32_t HAL_GetNumAnalogOutputs(void)
Gets the number of analog outputs in the current system.
int32_t HAL_GetNumPCMModules(void)
Gets the number of PCM modules in the current system.