add new time module
This commit is contained in:
parent
23e2e9e3e8
commit
aa275e2c01
@ -6,6 +6,7 @@ use crate::ecss::CCSDS_HEADER_LEN;
|
|||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
pub mod ecss;
|
pub mod ecss;
|
||||||
|
pub mod time;
|
||||||
pub mod tc;
|
pub mod tc;
|
||||||
pub mod tm;
|
pub mod tm;
|
||||||
|
|
||||||
|
@ -158,6 +158,8 @@ impl PusTcDataFieldHeader {
|
|||||||
/// This struct models a PUS telecommand and which can also be used. It is the primary data
|
/// 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
|
/// structure to generate the raw byte representation of a PUS telecommand or to
|
||||||
/// deserialize from one from raw bytes.
|
/// deserialize from one from raw bytes.
|
||||||
|
///
|
||||||
|
/// There is no spare bytes support.
|
||||||
#[derive(PartialEq, Copy, Clone, Serialize, Deserialize, Debug)]
|
#[derive(PartialEq, Copy, Clone, Serialize, Deserialize, Debug)]
|
||||||
pub struct PusTc<'slice> {
|
pub struct PusTc<'slice> {
|
||||||
pub sph: SpHeader,
|
pub sph: SpHeader,
|
||||||
|
1
src/time.rs
Normal file
1
src/time.rs
Normal file
@ -0,0 +1 @@
|
|||||||
|
trait CcsdsTimeProvider {}
|
Loading…
Reference in New Issue
Block a user