WPILibC++  2019.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
hal::fpga_clock Class Reference

A std::chrono compatible wrapper around the FPGA Timer. More...

#include <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
 

Detailed Description

A std::chrono compatible wrapper around the FPGA Timer.


The documentation for this class was generated from the following file: