Struct Chselr
#[repr(transparent)]pub struct Chselr(pub u32);Expand description
channel selection register
Tuple Fields§
§0: u32Implementations§
§impl Chselr
impl Chselr
pub const fn chsel_x(&self, n: usize) -> bool
pub const fn chsel_x(&self, n: usize) -> bool
Channel-x selection (available when CFGR1_CHSELRMOD is cleared)
pub const fn set_chsel_x(&mut self, n: usize, val: bool)
pub const fn set_chsel_x(&mut self, n: usize, val: bool)
Channel-x selection (available when CFGR1_CHSELRMOD is cleared)
Trait Implementations§
impl Copy for Chselr
impl Eq for Chselr
impl StructuralPartialEq for Chselr
Auto Trait Implementations§
impl Freeze for Chselr
impl RefUnwindSafe for Chselr
impl Send for Chselr
impl Sync for Chselr
impl Unpin for Chselr
impl UnwindSafe for Chselr
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