#[repr(transparent)]pub struct Pcfg1(pub u32);Expand description
Configuration register 1 for channel pair
Tuple Fields§
§0: u32Implementations§
Source§impl Pcfg1
impl Pcfg1
Sourcepub const fn pairenable(&self) -> bool
pub const fn pairenable(&self) -> bool
Enable for this channel pair..
Sourcepub const fn set_pairenable(&mut self, val: bool)
pub const fn set_pairenable(&mut self, val: bool)
Enable for this channel pair..
Sourcepub const fn onechannel(&self) -> bool
pub const fn onechannel(&self) -> bool
Single channel mode.
Sourcepub const fn set_onechannel(&mut self, val: bool)
pub const fn set_onechannel(&mut self, val: bool)
Single channel mode.
Trait Implementations§
impl Copy for Pcfg1
impl Eq for Pcfg1
impl StructuralPartialEq for Pcfg1
Auto Trait Implementations§
impl Freeze for Pcfg1
impl RefUnwindSafe for Pcfg1
impl Send for Pcfg1
impl Sync for Pcfg1
impl Unpin for Pcfg1
impl UnwindSafe for Pcfg1
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