WPILibC++ 2023.4.3-108-ge5452e3
SPIAccelerometerData.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 int32_t index, HAL_NotifyCallback callback, void* param,
17 HAL_Bool initialNotify);
21
23 int32_t index, HAL_NotifyCallback callback, void* param,
24 HAL_Bool initialNotify);
28
30 HAL_NotifyCallback callback,
31 void* param,
32 HAL_Bool initialNotify);
36
38 HAL_NotifyCallback callback,
39 void* param,
40 HAL_Bool initialNotify);
44
46 HAL_NotifyCallback callback,
47 void* param,
48 HAL_Bool initialNotify);
52
54 HAL_NotifyCallback callback,
55 void* param,
56 HAL_Bool initialNotify);
57
58#ifdef __cplusplus
59} // extern "C"
60#endif
void(* HAL_NotifyCallback)(const char *name, void *param, const struct HAL_Value *value)
Definition: NotifyListener.h:9
double HALSIM_GetSPIAccelerometerX(int32_t index)
void HALSIM_SetSPIAccelerometerX(int32_t index, double x)
int32_t HALSIM_RegisterSPIAccelerometerZCallback(int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
void HALSIM_CancelSPIAccelerometerRangeCallback(int32_t index, int32_t uid)
int32_t HALSIM_RegisterSPIAccelerometerYCallback(int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
void HALSIM_CancelSPIAccelerometerActiveCallback(int32_t index, int32_t uid)
double HALSIM_GetSPIAccelerometerZ(int32_t index)
void HALSIM_CancelSPIAccelerometerXCallback(int32_t index, int32_t uid)
void HALSIM_RegisterSPIAccelerometerAllCallbcaks(int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
double HALSIM_GetSPIAccelerometerY(int32_t index)
int32_t HALSIM_RegisterSPIAccelerometerRangeCallback(int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
void HALSIM_SetSPIAccelerometerActive(int32_t index, HAL_Bool active)
int32_t HALSIM_RegisterSPIAccelerometerActiveCallback(int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
void HALSIM_CancelSPIAccelerometerZCallback(int32_t index, int32_t uid)
int32_t HALSIM_GetSPIAccelerometerRange(int32_t index)
void HALSIM_SetSPIAccelerometerY(int32_t index, double y)
void HALSIM_ResetSPIAccelerometerData(int32_t index)
void HALSIM_CancelSPIAccelerometerYCallback(int32_t index, int32_t uid)
void HALSIM_SetSPIAccelerometerZ(int32_t index, double z)
void HALSIM_SetSPIAccelerometerRange(int32_t index, int32_t range)
HAL_Bool HALSIM_GetSPIAccelerometerActive(int32_t index)
int32_t HALSIM_RegisterSPIAccelerometerXCallback(int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
int32_t HAL_Bool
Definition: Types.h:73
const Scalar & y
Definition: MathFunctions.h:821
::int32_t int32_t
Definition: Meta.h:57