Skip to main content

PTP_OFFSET_NS

Constant PTP_OFFSET_NS 

Source
pub const PTP_OFFSET_NS: i64 = -1_234_567;
Expand description

Value latched into REG_PTP_OFFSET_LATCHED: the slave leading the master by 1 234 567 ns. Stored as the two’s-complement bit pattern a camera would put on the wire, so the test asserts the bytes and the decoded value separately rather than round-tripping through our own codec.