constexpr auto count() -> size_t
Definition: core.h:1204
void HAL_SetAccumulatorCenter(HAL_AnalogInputHandle analogPortHandle, int32_t center, int32_t *status)
Set the center value of the accumulator.
void HAL_GetAccumulatorOutput(HAL_AnalogInputHandle analogPortHandle, int64_t *value, int64_t *count, int32_t *status)
Read the accumulated value and the number of accumulated values atomically.
int64_t HAL_GetAccumulatorValue(HAL_AnalogInputHandle analogPortHandle, int32_t *status)
Read the accumulated value.
int64_t HAL_GetAccumulatorCount(HAL_AnalogInputHandle analogPortHandle, int32_t *status)
Read the number of accumulated values.
HAL_Bool HAL_IsAccumulatorChannel(HAL_AnalogInputHandle analogPortHandle, int32_t *status)
Is the channel attached to an accumulator.
void HAL_InitAccumulator(HAL_AnalogInputHandle analogPortHandle, int32_t *status)
Initialize the accumulator.
void HAL_SetAccumulatorDeadband(HAL_AnalogInputHandle analogPortHandle, int32_t deadband, int32_t *status)
Set the accumulator's deadband.
void HAL_ResetAccumulator(HAL_AnalogInputHandle analogPortHandle, int32_t *status)
Resets the accumulator to the initial value.
int32_t HAL_Bool
Definition: Types.h:73
HAL_Handle HAL_AnalogInputHandle
Definition: Types.h:21
::int32_t int32_t
Definition: Meta.h:57
::int64_t int64_t
Definition: Meta.h:59
GHC_FS_API file_status status(const path &p, std::error_code &ec) noexcept
Definition: filesystem.hpp:4892