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