Expand description
CCSDS Day Segmented (CDS) time format. CCSDS Day Segmented (CDS) Time Format (CCSDS 301.0-B-4, §3.3)
CDS encodes time as a day count since a reference epoch plus milliseconds within the day, with optional sub-millisecond resolution (microseconds or picoseconds).
§P-Field
Byte 1:
[7] Extension flag (0 = 1-byte P-field)
[6:4] Time code ID: 100 = CDS
[3] Epoch ID: 0 = CCSDS epoch, 1 = agency-defined
[2] Day segment length: 0 = 16-bit, 1 = 24-bit
[1:0] Sub-millisecond resolution:
00 = none, 01 = µs (16-bit), 10 = ps (32-bit)§T-Field
┌──────────┬────────────┬──────────────────┐
│ Day │ ms of day │ sub-ms (optional) │
│ 16/24 b │ 32 bits │ 16 or 32 bits │
└──────────┴────────────┴──────────────────┘§CCSDS Epoch
Same as CUC: 1958-01-01T00:00:00 TAI.
Structs§
Enums§
- CdsError
- Errors from CDS time operations.
- EpochId
- Epoch identifier.
- SubMillis
- Sub-millisecond resolution options.
Constants§
- MS_
PER_ DAY - Milliseconds in one day.