#[repr(transparent)]pub struct Pselid(pub u32);Expand description
Peripheral Select and ID.
Tuple Fields§
§0: u32Implementations§
Source§impl Pselid
impl Pselid
Sourcepub const fn persel(&self) -> Persel
pub const fn persel(&self) -> Persel
Peripheral Select. Writable only until LOCK is set; encodings 4/5/6 are reserved.
Sourcepub const fn set_persel(&mut self, val: Persel)
pub const fn set_persel(&mut self, val: Persel)
Peripheral Select. Writable only until LOCK is set; encodings 4/5/6 are reserved.
Sourcepub const fn uartpresent(&self) -> bool
pub const fn uartpresent(&self) -> bool
Read-only UART function support indication.
Sourcepub const fn set_uartpresent(&mut self, val: bool)
pub const fn set_uartpresent(&mut self, val: bool)
Read-only UART function support indication.
Sourcepub const fn spipresent(&self) -> bool
pub const fn spipresent(&self) -> bool
Read-only SPI function support indication.
Sourcepub const fn set_spipresent(&mut self, val: bool)
pub const fn set_spipresent(&mut self, val: bool)
Read-only SPI function support indication.
Sourcepub const fn i2cpresent(&self) -> bool
pub const fn i2cpresent(&self) -> bool
Read-only I2C function support indication.
Sourcepub const fn set_i2cpresent(&mut self, val: bool)
pub const fn set_i2cpresent(&mut self, val: bool)
Read-only I2C function support indication.
Trait Implementations§
impl Copy for Pselid
impl Eq for Pselid
impl StructuralPartialEq for Pselid
Auto Trait Implementations§
impl Freeze for Pselid
impl RefUnwindSafe for Pselid
impl Send for Pselid
impl Sync for Pselid
impl Unpin for Pselid
impl UnwindSafe for Pselid
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