vex_sdk::device

Function vexDeviceGetTimestamp

Source
pub unsafe fn vexDeviceGetTimestamp(device: V5_DeviceT) -> u32
Expand description

Get the timestamp recorded by a device’s internal clock.

§Safety

Calls to jumptable functions are unsafe because jumptable functions are owned by VEXos and we cannot guarantee their safety.