Struct rp_pac::uart::regs::Uartperiphid1
source · #[repr(transparent)]pub struct Uartperiphid1(pub u32);
Expand description
UARTPeriphID1 Register
Tuple Fields§
§0: u32
Implementations§
source§impl Uartperiphid1
impl Uartperiphid1
sourcepub const fn partnumber1(&self) -> u8
pub const fn partnumber1(&self) -> u8
These bits read back as 0x0
sourcepub fn set_partnumber1(&mut self, val: u8)
pub fn set_partnumber1(&mut self, val: u8)
These bits read back as 0x0
sourcepub fn set_designer0(&mut self, val: u8)
pub fn set_designer0(&mut self, val: u8)
These bits read back as 0x1
Trait Implementations§
source§impl Clone for Uartperiphid1
impl Clone for Uartperiphid1
source§fn clone(&self) -> Uartperiphid1
fn clone(&self) -> Uartperiphid1
Returns a copy 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 Default for Uartperiphid1
impl Default for Uartperiphid1
source§fn default() -> Uartperiphid1
fn default() -> Uartperiphid1
Returns the “default value” for a type. Read more
source§impl PartialEq for Uartperiphid1
impl PartialEq for Uartperiphid1
impl Copy for Uartperiphid1
impl Eq for Uartperiphid1
impl StructuralPartialEq for Uartperiphid1
Auto Trait Implementations§
impl Freeze for Uartperiphid1
impl RefUnwindSafe for Uartperiphid1
impl Send for Uartperiphid1
impl Sync for Uartperiphid1
impl Unpin for Uartperiphid1
impl UnwindSafe for Uartperiphid1
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)