vex_sdk::device

Function vexDeviceGetTimestamp

source
#[no_mangle]
pub unsafe extern "C" 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.