Struct rp_pac::uart::regs::Uartperiphid2
source · #[repr(transparent)]pub struct Uartperiphid2(pub u32);
Expand description
UARTPeriphID2 Register
Tuple Fields§
§0: u32
Implementations§
source§impl Uartperiphid2
impl Uartperiphid2
sourcepub fn set_designer1(&mut self, val: u8)
pub fn set_designer1(&mut self, val: u8)
These bits read back as 0x4
sourcepub const fn revision(&self) -> u8
pub const fn revision(&self) -> u8
This field depends on the revision of the UART: r1p0 0x0 r1p1 0x1 r1p3 0x2 r1p4 0x2 r1p5 0x3
sourcepub fn set_revision(&mut self, val: u8)
pub fn set_revision(&mut self, val: u8)
This field depends on the revision of the UART: r1p0 0x0 r1p1 0x1 r1p3 0x2 r1p4 0x2 r1p5 0x3
Trait Implementations§
source§impl Clone for Uartperiphid2
impl Clone for Uartperiphid2
source§fn clone(&self) -> Uartperiphid2
fn clone(&self) -> Uartperiphid2
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 Uartperiphid2
impl Default for Uartperiphid2
source§fn default() -> Uartperiphid2
fn default() -> Uartperiphid2
Returns the “default value” for a type. Read more
source§impl PartialEq for Uartperiphid2
impl PartialEq for Uartperiphid2
impl Copy for Uartperiphid2
impl Eq for Uartperiphid2
impl StructuralPartialEq for Uartperiphid2
Auto Trait Implementations§
impl Freeze for Uartperiphid2
impl RefUnwindSafe for Uartperiphid2
impl Send for Uartperiphid2
impl Sync for Uartperiphid2
impl Unpin for Uartperiphid2
impl UnwindSafe for Uartperiphid2
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
)