pub struct InstanceState {
pub short_circuit_armed: AtomicU8,
pub short_circuit_waker: AtomicWaker,
pub clock_absence_armed: AtomicU8,
pub clock_absence_waker: AtomicWaker,
}Expand description
State shared between an instance’s interrupt handler and its detectors.
Fields§
§short_circuit_armed: AtomicU8Bitmask of transceivers whose short-circuit detector the driver has armed (aggregate SCDEN mirror; driver is the sole writer).
short_circuit_waker: AtomicWakerWaker for short-circuit-detector events
clock_absence_armed: AtomicU8Bitmask of transceivers whose clock-absence detector the driver has armed (aggregate CKABEN mirror; driver is the sole writer).
clock_absence_waker: AtomicWakerWaker for clock-absence-detector events
Implementations§
Trait Implementations§
Source§impl Default for InstanceState
impl Default for InstanceState
Source§fn default() -> InstanceState
fn default() -> InstanceState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for InstanceState
impl !RefUnwindSafe for InstanceState
impl Send for InstanceState
impl Sync for InstanceState
impl Unpin for InstanceState
impl UnsafeUnpin for InstanceState
impl UnwindSafe for InstanceState
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