WPILibC++ 2024.3.2
Constants.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 <stdint.h>
8
9/**
10 * @defgroup hal_constants Constants Functions
11 * @ingroup hal_capi
12 * @{
13 */
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19/**
20 * Gets the number of FPGA system clock ticks per microsecond.
21 *
22 * @return the number of clock ticks per microsecond
23 */
25#ifdef __cplusplus
26} // extern "C"
27#endif
28/** @} */
int32_t HAL_GetSystemClockTicksPerMicrosecond(void)
Gets the number of FPGA system clock ticks per microsecond.