pub struct RegisterBlock {
pub address: u16,
pub count: u16,
pub initial: Vec<u16>,
pub mode: UpdateMode,
pub min: u16,
pub max: u16,
}Expand description
A contiguous block of registers with initial values.
Fields§
§address: u16Starting address.
count: u16Number of registers in this block.
initial: Vec<u16>Initial values (padded with 0 if shorter than count).
mode: UpdateModeUpdate mode for dynamic simulation.
min: u16Minimum value for random mode.
max: u16Maximum value for random mode.
Trait Implementations§
Source§impl Clone for RegisterBlock
impl Clone for RegisterBlock
Source§fn clone(&self) -> RegisterBlock
fn clone(&self) -> RegisterBlock
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegisterBlock
impl Debug for RegisterBlock
Source§impl<'de> Deserialize<'de> for RegisterBlock
impl<'de> Deserialize<'de> for RegisterBlock
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RegisterBlock
impl RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnsafeUnpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more