#[non_exhaustive]pub struct L1PostDynamic {
pub frame_idx: u8,
pub sub_slice_interval: u32,
pub type_2_start: u32,
pub l1_change_counter: u8,
pub start_rf_idx: u8,
pub reserved_1: u8,
pub plps: Vec<PlpDynamic>,
pub reserved_3: u8,
pub aux: Vec<AuxDynamic>,
}Expand description
Dynamic L1-post signalling — EN 302 755 §7.2.3.2, Figure 28.
Parse with L1PostDynamic::parse(bytes, num_plp, num_aux).
num_plp and num_aux come from the configurable block’s num_plp /
num_aux fields.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.frame_idx: u8FRAME_IDX (8 bits).
sub_slice_interval: u32SUB_SLICE_INTERVAL (22 bits; 0 if no type-2 PLPs).
type_2_start: u32TYPE_2_START (22 bits; 0 if no type-2 PLPs).
l1_change_counter: u8L1_CHANGE_COUNTER (8 bits; 0 = no scheduled change).
start_rf_idx: u8START_RF_IDX (3 bits; 0 if TFS not used).
reserved_1: u8RESERVED_1 (8 bits).
plps: Vec<PlpDynamic>PLP dynamic loop (length = num_plp).
reserved_3: u8RESERVED_3 (8 bits, post-PLP-loop).
aux: Vec<AuxDynamic>AUX dynamic loop (length = num_aux).
Implementations§
Source§impl L1PostDynamic
impl L1PostDynamic
Sourcepub fn parse(bytes: &[u8], num_plp: u8, num_aux: u8) -> Result<Self>
pub fn parse(bytes: &[u8], num_plp: u8, num_aux: u8) -> Result<Self>
Parse from bytes with num_plp and num_aux context from the
configurable block.
§Errors
crate::Error::L1Bits on bit-stream overrun.
Sourcepub fn serialize_bits(&self, w: &mut BitWriter<'_>) -> Result<()>
pub fn serialize_bits(&self, w: &mut BitWriter<'_>) -> Result<()>
Serialise into a pre-allocated bit-writer.
§Errors
crate::Error::L1Bits if the writer’s buffer is too small.
Trait Implementations§
Source§impl Clone for L1PostDynamic
impl Clone for L1PostDynamic
Source§fn clone(&self) -> L1PostDynamic
fn clone(&self) -> L1PostDynamic
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for L1PostDynamic
impl Debug for L1PostDynamic
impl Eq for L1PostDynamic
Source§impl PartialEq for L1PostDynamic
impl PartialEq for L1PostDynamic
Source§impl Serialize for L1PostDynamic
Available on crate feature serde only.
impl Serialize for L1PostDynamic
serde only.