#[repr(transparent)]pub struct Pselid(pub u32);Expand description
Peripheral Select and Flexcomm ID register.
Tuple Fields§
§0: u32Implementations§
Source§impl Pselid
impl Pselid
Sourcepub const fn set_persel(&mut self, val: Persel)
pub const fn set_persel(&mut self, val: Persel)
Peripheral Select. This field is writable by software.
Sourcepub const fn lock(&self) -> bool
pub const fn lock(&self) -> bool
Lock the peripheral select. This field is writable by software.
Sourcepub const fn set_lock(&mut self, val: bool)
pub const fn set_lock(&mut self, val: bool)
Lock the peripheral select. This field is writable by software.
Sourcepub const fn usartpresent(&self) -> bool
pub const fn usartpresent(&self) -> bool
USART present indicator. This field is Read-only.
Sourcepub const fn set_usartpresent(&mut self, val: bool)
pub const fn set_usartpresent(&mut self, val: bool)
USART present indicator. This field is Read-only.
Sourcepub const fn spipresent(&self) -> bool
pub const fn spipresent(&self) -> bool
SPI present indicator. This field is Read-only.
Sourcepub const fn set_spipresent(&mut self, val: bool)
pub const fn set_spipresent(&mut self, val: bool)
SPI present indicator. This field is Read-only.
Sourcepub const fn i2cpresent(&self) -> bool
pub const fn i2cpresent(&self) -> bool
I2C present indicator. This field is Read-only.
Sourcepub const fn set_i2cpresent(&mut self, val: bool)
pub const fn set_i2cpresent(&mut self, val: bool)
I2C present indicator. This field is Read-only.
Sourcepub const fn i2spresent(&self) -> bool
pub const fn i2spresent(&self) -> bool
I 2S present indicator. This field is Read-only.
Sourcepub const fn set_i2spresent(&mut self, val: bool)
pub const fn set_i2spresent(&mut self, val: bool)
I 2S present indicator. This field is Read-only.
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