pub struct Meter(/* private fields */);Expand description
Grammeter measurement register
Implementations§
Source§impl Meter
impl Meter
pub const VALUE_OFFSET: usize = 0usize
pub const VALUE_WIDTH: usize = 32usize
pub const VALUE_MASK: u32 = 4_294_967_295u32
pub const VALUE_SIGNED: bool = true
pub const VALUE_INTWIDTH: isize = 12isize
pub const VALUE_FRACWIDTH: isize = 20isize
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§
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