[−][src]Struct avr_mcu::Bitfield
A bitfield within a register.
Fields
name: String
The name of the bitfield, such as U2X0
for the USART register UCSR0A
.
A description of the bitfield.
mask: u32
The mask that makes up the bitfield.
This will always match up to the parent register. A 16-bit register has 16-but masks.
size: u32
The number of bytes that make up the bitfield.
values: Option<String>
reference into value_groups on the container
Trait Implementations
impl Clone for Bitfield
[src]
impl Debug for Bitfield
[src]
impl Eq for Bitfield
[src]
impl Hash for Bitfield
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Bitfield> for Bitfield
[src]
impl PartialOrd<Bitfield> for Bitfield
[src]
fn partial_cmp(&self, other: &Bitfield) -> Option<Ordering>
[src]
fn lt(&self, other: &Bitfield) -> bool
[src]
fn le(&self, other: &Bitfield) -> bool
[src]
fn gt(&self, other: &Bitfield) -> bool
[src]
fn ge(&self, other: &Bitfield) -> bool
[src]
impl StructuralEq for Bitfield
[src]
impl StructuralPartialEq for Bitfield
[src]
Auto Trait Implementations
impl RefUnwindSafe for Bitfield
impl Send for Bitfield
impl Sync for Bitfield
impl Unpin for Bitfield
impl UnwindSafe for Bitfield
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,