pub struct Status1A(pub u8);
Tuple Fields§
§0: u8
Implementations§
source§impl Status1A
impl Status1A
sourcepub fn togss(&self) -> u8
pub fn togss(&self) -> u8
000
: Toggle logic running (processor has previously written TOGGLE=1)001
: Toggle functionality has settled to SRCon CC1 (STOP_SRC1 state)010
: Toggle functionality has settled to SRCon CC2 (STOP_SRC2 state)101
: Toggle functionality has settled to SNKon CC1 (STOP_SNK1 state)110
: Toggle functionality has settled to SNKon CC2 (STOP_SNK2 state)111
: Toggle functionality has detected AudioAccessory with vRa on both CC1 and CC2 (settles to STOP_SRC1 state)
Otherwise: Not defined (do not interpret)
sourcepub fn rxsop2db(&self) -> bool
pub fn rxsop2db(&self) -> bool
Indicates the last packet placed in the RxFIFO is type SOP’’_DEBUG (SOP double prime debug)
Trait Implementations§
source§impl PartialEq for Status1A
impl PartialEq for Status1A
impl Copy for Status1A
impl Eq for Status1A
impl StructuralPartialEq for Status1A
Auto Trait Implementations§
impl Freeze for Status1A
impl RefUnwindSafe for Status1A
impl Send for Status1A
impl Sync for Status1A
impl Unpin for Status1A
impl UnwindSafe for Status1A
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, U> UnsafeFrom<U> for Twhere
U: Into<T>,
impl<T, U> UnsafeFrom<U> for Twhere
U: Into<T>,
source§unsafe fn unsafe_from(other: U) -> T
unsafe fn unsafe_from(other: U) -> T
Calls U::into(other)
.
That is, this conversion is whatever the implementation of Into
<T> for U
chooses to
do.
source§impl<T, U> UnsafeInto<U> for Twhere
U: UnsafeFrom<T>,
impl<T, U> UnsafeInto<U> for Twhere
U: UnsafeFrom<T>,
source§unsafe fn unsafe_into(self) -> U
unsafe fn unsafe_into(self) -> U
Calls U::unsafe_from(self)
.
That is, this conversion is whatever the implementation of UnsafeFrom
<T> for U
chooses to do.