pub struct HwRegInst {
pub group: String,
pub dim: SignalDim,
pub port: RegPortKind,
pub intr_derived: bool,
pub missing_fields: BTreeMap<String, MissingFieldInfo>,
pub limits: Vec<String>,
}Fields§
§group: StringGroup type of the register
dim: SignalDimDimension of the register: 0 if not an array of registers
port: RegPortKindPort direction
intr_derived: boolRegister instance derived (interrupt en/mask/pending)
missing_fields: BTreeMap<String, MissingFieldInfo>Missing fields
limits: Vec<String>Fields with limit: usefull to collect
Implementations§
Source§impl HwRegInst
impl HwRegInst
pub fn new( reg: &RifRegInst, port: RegPortKind, missing_fields: BTreeMap<String, MissingFieldInfo>, limits: Vec<String>, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HwRegInst
impl RefUnwindSafe for HwRegInst
impl Send for HwRegInst
impl Sync for HwRegInst
impl Unpin for HwRegInst
impl UnsafeUnpin for HwRegInst
impl UnwindSafe for HwRegInst
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