#[repr(transparent)]pub struct Hciversion(pub u16);Expand description
Host Controller Interface Version. F70RM 44.6.1.14 (text line 112966). Source conflict: map/diagram reset is 0x0100, but prose calls the default 0x10 for EHCI revision 1.0. Retain the map reset and raw version value.
Tuple Fields§
§0: u16Implementations§
Source§impl Hciversion
impl Hciversion
Sourcepub const fn hciversion(&self) -> u16
pub const fn hciversion(&self) -> u16
Host Controller Interface Version Number. Read-only status/value; writes do not configure this field.
Sourcepub const fn set_hciversion(&mut self, val: u16)
pub const fn set_hciversion(&mut self, val: u16)
Host Controller Interface Version Number. Read-only status/value; writes do not configure this field.
Trait Implementations§
Source§impl Clone for Hciversion
impl Clone for Hciversion
Source§fn clone(&self) -> Hciversion
fn clone(&self) -> Hciversion
Returns a duplicate of the value. Read more
1.0.0 · 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 Hciversion
impl Debug for Hciversion
Source§impl Default for Hciversion
impl Default for Hciversion
Source§fn default() -> Hciversion
fn default() -> Hciversion
Returns the “default value” for a type. Read more
Source§impl PartialEq for Hciversion
impl PartialEq for Hciversion
impl Copy for Hciversion
impl Eq for Hciversion
impl StructuralPartialEq for Hciversion
Auto Trait Implementations§
impl Freeze for Hciversion
impl RefUnwindSafe for Hciversion
impl Send for Hciversion
impl Sync for Hciversion
impl Unpin for Hciversion
impl UnwindSafe for Hciversion
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