pub struct Meter(/* private fields */);Expand description
Grammeter measurement register
Implementations§
Source§impl Meter
impl Meter
pub const VALUE_OFFSET: usize = 0
pub const VALUE_WIDTH: usize = 32
pub const VALUE_MASK: u32 = 0xFFFF_FFFF
pub const VALUE_SIGNED: bool = true
pub const VALUE_INTWIDTH: isize = 12
pub const VALUE_FRACWIDTH: isize = 20
Sourcepub fn value(&self) -> ValueFixedPoint
pub fn value(&self) -> ValueFixedPoint
value
Current grammeter measurement.
Units are in Amperes per foot-liter (A/F-L)
Trait Implementations§
Source§impl Register for Meter
impl Register for Meter
Source§type Accesswidth = u32
type Accesswidth = u32
Primitive integer type representing the size of memory accesses used when
reading/writing this register.
Source§type ByteEndian = LittleEndian
type ByteEndian = LittleEndian
Ordering of bytes within each accesswidth subword.
Source§type WordEndian = LittleEndian
type WordEndian = LittleEndian
Ordering of accesswidth subwords within the register.
impl Copy for Meter
impl Eq for Meter
impl Send for Meter
impl StructuralPartialEq for Meter
impl Sync for Meter
Auto Trait Implementations§
impl Freeze for Meter
impl RefUnwindSafe for Meter
impl Unpin for Meter
impl UnsafeUnpin for Meter
impl UnwindSafe for Meter
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