Enum stm32_metapac::comp::vals::WindowMode
#[repr(u8)]pub enum WindowMode {
THISINPSEL = 0,
OTHERINPSEL = 1,
}
Variants§
THISINPSEL = 0
Signal selected with INPSEL[2:0] bitfield of this register.
OTHERINPSEL = 1
Signal selected with INPSEL[2:0] bitfield of the other register (required for window mode).
Implementations§
§impl WindowMode
impl WindowMode
pub const fn from_bits(val: u8) -> WindowMode
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for WindowMode
impl Clone for WindowMode
§fn clone(&self) -> WindowMode
fn clone(&self) -> WindowMode
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 more§impl From<WindowMode> for u8
impl From<WindowMode> for u8
§fn from(val: WindowMode) -> u8
fn from(val: WindowMode) -> u8
Converts to this type from the input type.
§impl From<u8> for WindowMode
impl From<u8> for WindowMode
§fn from(val: u8) -> WindowMode
fn from(val: u8) -> WindowMode
Converts to this type from the input type.
§impl Ord for WindowMode
impl Ord for WindowMode
§impl PartialEq for WindowMode
impl PartialEq for WindowMode
§impl PartialOrd for WindowMode
impl PartialOrd for WindowMode
impl Copy for WindowMode
impl Eq for WindowMode
impl StructuralPartialEq for WindowMode
Auto Trait Implementations§
impl Freeze for WindowMode
impl RefUnwindSafe for WindowMode
impl Send for WindowMode
impl Sync for WindowMode
impl Unpin for WindowMode
impl UnwindSafe for WindowMode
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
)