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