added HK subservices
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit
This commit is contained in:
parent
8054f4091d
commit
cfa5f8099c
@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
- `ecss.event` module containing a `Subservice` enum.
|
||||
- `ecss.verification` module containing a `Subservice` enum.
|
||||
- `ecss.scheduling` module containing a `Subservice` enum and some other helper enumerations.
|
||||
- `ecss.hk` module containing a `Subservice` enum.
|
||||
|
||||
## Changed
|
||||
|
||||
|
15
src/ecss/hk.rs
Normal file
15
src/ecss/hk.rs
Normal file
@ -0,0 +1,15 @@
|
||||
//! PUS Service 3 Housekeeping
|
||||
#[cfg(feature = "serde")]
|
||||
use serde::{Deserialize, Serialize};
|
||||
use num_enum::{IntoPrimitive, TryFromPrimitive};
|
||||
|
||||
#[derive(Debug, Eq, PartialEq, Copy, Clone, IntoPrimitive, TryFromPrimitive)]
|
||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||
#[repr(u8)]
|
||||
pub enum Subservice {
|
||||
TcEnableGeneration = 5,
|
||||
TcDisableGeneration = 6,
|
||||
TmHkPacket = 25,
|
||||
TcGenerateOneShotHk = 27,
|
||||
TcModifyCollectionInterval = 31,
|
||||
}
|
@ -16,6 +16,7 @@ use std::error::Error;
|
||||
pub mod scheduling;
|
||||
pub mod event;
|
||||
pub mod verification;
|
||||
pub mod hk;
|
||||
|
||||
pub type CrcType = u16;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user