WPILibC++ 2024.3.2
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
14void HALSIM_ResetAnalogOutData(int32_t index);
16 HAL_NotifyCallback callback,
17 void* param,
18 HAL_Bool initialNotify);
19void HALSIM_CancelAnalogOutVoltageCallback(int32_t index, int32_t uid);
20double HALSIM_GetAnalogOutVoltage(int32_t index);
21void HALSIM_SetAnalogOutVoltage(int32_t index, double voltage);
22
24 HAL_NotifyCallback callback,
25 void* param,
26 HAL_Bool initialNotify);
27void HALSIM_CancelAnalogOutInitializedCallback(int32_t index, int32_t uid);
29void HALSIM_SetAnalogOutInitialized(int32_t index, HAL_Bool initialized);
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