WPILibC++ 2025.2.1
Loading...
Searching...
No Matches
AnalogOutput.h File Reference
#include <stdint.h>
#include "hal/Types.h"

Go to the source code of this file.

Functions

HAL_AnalogOutputHandle HAL_InitializeAnalogOutputPort (HAL_PortHandle portHandle, const char *allocationLocation, int32_t *status)
 Initializes the analog output port using the given port object.
 
void HAL_FreeAnalogOutputPort (HAL_AnalogOutputHandle analogOutputHandle)
 Frees an analog output port.
 
void HAL_SetAnalogOutput (HAL_AnalogOutputHandle analogOutputHandle, double voltage, int32_t *status)
 Sets an analog output value.
 
double HAL_GetAnalogOutput (HAL_AnalogOutputHandle analogOutputHandle, int32_t *status)
 Gets the current analog output value.
 
HAL_Bool HAL_CheckAnalogOutputChannel (int32_t channel)
 Checks that the analog output channel number is valid.