WPILibC++ 2023.4.3-108-ge5452e3
AnalogOutData.h
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5#pragma once
6
7#include "hal/Types.h"
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
16 HAL_NotifyCallback callback,
17 void* param,
18 HAL_Bool initialNotify);
21void HALSIM_SetAnalogOutVoltage(int32_t index, double voltage);
22
24 HAL_NotifyCallback callback,
25 void* param,
26 HAL_Bool initialNotify);
30
32 HAL_NotifyCallback callback,
33 void* param, HAL_Bool initialNotify);
34
35#ifdef __cplusplus
36} // extern "C"
37#endif
int32_t HALSIM_RegisterAnalogOutVoltageCallback(int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
void HALSIM_SetAnalogOutInitialized(int32_t index, HAL_Bool initialized)
HAL_Bool HALSIM_GetAnalogOutInitialized(int32_t index)
double HALSIM_GetAnalogOutVoltage(int32_t index)
void HALSIM_CancelAnalogOutVoltageCallback(int32_t index, int32_t uid)
void HALSIM_CancelAnalogOutInitializedCallback(int32_t index, int32_t uid)
void HALSIM_SetAnalogOutVoltage(int32_t index, double voltage)
int32_t HALSIM_RegisterAnalogOutInitializedCallback(int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
void HALSIM_ResetAnalogOutData(int32_t index)
void HALSIM_RegisterAnalogOutAllCallbacks(int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
void(* HAL_NotifyCallback)(const char *name, void *param, const struct HAL_Value *value)
Definition: NotifyListener.h:9
int32_t HAL_Bool
Definition: Types.h:73
::int32_t int32_t
Definition: Meta.h:57