Struct rp_pac::uart::regs::Uartperiphid0
source · #[repr(transparent)]pub struct Uartperiphid0(pub u32);
Expand description
UARTPeriphID0 Register
Tuple Fields§
§0: u32
Implementations§
source§impl Uartperiphid0
impl Uartperiphid0
sourcepub const fn partnumber0(&self) -> u8
pub const fn partnumber0(&self) -> u8
These bits read back as 0x11
sourcepub fn set_partnumber0(&mut self, val: u8)
pub fn set_partnumber0(&mut self, val: u8)
These bits read back as 0x11
Trait Implementations§
source§impl Clone for Uartperiphid0
impl Clone for Uartperiphid0
source§fn clone(&self) -> Uartperiphid0
fn clone(&self) -> Uartperiphid0
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 Uartperiphid0
impl Default for Uartperiphid0
source§fn default() -> Uartperiphid0
fn default() -> Uartperiphid0
Returns the “default value” for a type. Read more
source§impl PartialEq for Uartperiphid0
impl PartialEq for Uartperiphid0
impl Copy for Uartperiphid0
impl Eq for Uartperiphid0
impl StructuralPartialEq for Uartperiphid0
Auto Trait Implementations§
impl Freeze for Uartperiphid0
impl RefUnwindSafe for Uartperiphid0
impl Send for Uartperiphid0
impl Sync for Uartperiphid0
impl Unpin for Uartperiphid0
impl UnwindSafe for Uartperiphid0
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
)