WPILibC++ 2023.4.3-108-ge5452e3
|
A std::chrono compatible wrapper around the FPGA Timer. More...
#include <hal/cpp/fpga_clock.h>
Public Types | |
using | rep = std::chrono::microseconds::rep |
using | period = std::chrono::microseconds::period |
using | duration = std::chrono::microseconds |
using | time_point = std::chrono::time_point< fpga_clock > |
Static Public Member Functions | |
static fpga_clock::time_point | now () noexcept |
static fpga_clock::time_point | epoch () noexcept |
static fpga_clock::duration | zero () noexcept |
Static Public Attributes | |
static constexpr bool | is_steady = true |
static const time_point | min_time |
A std::chrono compatible wrapper around the FPGA Timer.
using hal::fpga_clock::duration = std::chrono::microseconds |
using hal::fpga_clock::period = std::chrono::microseconds::period |
using hal::fpga_clock::rep = std::chrono::microseconds::rep |
using hal::fpga_clock::time_point = std::chrono::time_point<fpga_clock> |
|
inlinestaticnoexcept |
|
staticnoexcept |
|
inlinestaticnoexcept |
|
staticconstexpr |
|
static |