add new time module

This commit is contained in:
Robin Müller 2022-07-24 17:33:30 +02:00
parent 23e2e9e3e8
commit aa275e2c01
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
3 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,7 @@ use crate::ecss::CCSDS_HEADER_LEN;
use serde::{Deserialize, Serialize};
pub mod ecss;
pub mod time;
pub mod tc;
pub mod tm;

View File

@ -158,6 +158,8 @@ impl PusTcDataFieldHeader {
/// This struct models a PUS telecommand and which can also be used. It is the primary data
/// structure to generate the raw byte representation of a PUS telecommand or to
/// deserialize from one from raw bytes.
///
/// There is no spare bytes support.
#[derive(PartialEq, Copy, Clone, Serialize, Deserialize, Debug)]
pub struct PusTc<'slice> {
pub sph: SpHeader,

1
src/time.rs Normal file
View File

@ -0,0 +1 @@
trait CcsdsTimeProvider {}