pub struct ParallelPairDisabled<'a, 'd, T, M, S, MN, SN>where
T: Instance,
M: TransceiverMarker + NextChannelForInstance<T>,
S: PinSet,
MN: TransceiverMarker + NextChannelForInstance<T>,
SN: PinSet,{ /* private fields */ }Expand description
A dual-mode parallel-input pair, disabled and ready to configure.
Implementations§
Source§impl<'a, 'd, T, M, S, MN, SN> ParallelPairDisabled<'a, 'd, T, M, S, MN, SN>where
T: Instance,
M: TransceiverMarker + NextChannelForInstance<T>,
S: PinSet,
MN: TransceiverMarker + NextChannelForInstance<T>,
SN: PinSet,
impl<'a, 'd, T, M, S, MN, SN> ParallelPairDisabled<'a, 'd, T, M, S, MN, SN>where
T: Instance,
M: TransceiverMarker + NextChannelForInstance<T>,
S: PinSet,
MN: TransceiverMarker + NextChannelForInstance<T>,
SN: PinSet,
Sourcepub fn set_data_right_shift(self, shifts: [DataRightShift; 2]) -> Self
pub fn set_data_right_shift(self, shifts: [DataRightShift; 2]) -> Self
Set the data right-shift factor for both channels ([0] = even, [1] = odd).
Sourcepub fn select_awd_filter_order(self, orders: [AwdFilterOrder; 2]) -> Self
pub fn select_awd_filter_order(self, orders: [AwdFilterOrder; 2]) -> Self
Set the analog watchdog filter order for both channels ([0] = even, [1] = odd).
Sourcepub fn select_awd_filter_osr(self, osrs: [AwdFilterOsr; 2]) -> Self
pub fn select_awd_filter_osr(self, osrs: [AwdFilterOsr; 2]) -> Self
Set the analog watchdog filter OSR for both channels ([0] = even, [1] = odd).
Sourcepub fn set_offset(self, offsets: [u32; 2]) -> Self
pub fn set_offset(self, offsets: [u32; 2]) -> Self
Set the offset for both channels ([0] = even, [1] = odd).
Sourcepub fn enable(self) -> ParallelPair<'a, 'd, T, M, S, MN, SN>
pub fn enable(self) -> ParallelPair<'a, 'd, T, M, S, MN, SN>
Enable both channels.
Auto Trait Implementations§
impl<'a, 'd, T, M, S, MN, SN> !RefUnwindSafe for ParallelPairDisabled<'a, 'd, T, M, S, MN, SN>
impl<'a, 'd, T, M, S, MN, SN> !UnwindSafe for ParallelPairDisabled<'a, 'd, T, M, S, MN, SN>
impl<'a, 'd, T, M, S, MN, SN> Freeze for ParallelPairDisabled<'a, 'd, T, M, S, MN, SN>where
Transceiver<'a, 'd, T, M, S, ParallelPaired, OwnPins, Disabled>: Freeze,
Transceiver<'a, 'd, T, MN, SN, ParallelPaired, OwnPins, Disabled>: Freeze,
impl<'a, 'd, T, M, S, MN, SN> Send for ParallelPairDisabled<'a, 'd, T, M, S, MN, SN>where
Transceiver<'a, 'd, T, M, S, ParallelPaired, OwnPins, Disabled>: Send,
Transceiver<'a, 'd, T, MN, SN, ParallelPaired, OwnPins, Disabled>: Send,
impl<'a, 'd, T, M, S, MN, SN> Sync for ParallelPairDisabled<'a, 'd, T, M, S, MN, SN>where
Transceiver<'a, 'd, T, M, S, ParallelPaired, OwnPins, Disabled>: Sync,
Transceiver<'a, 'd, T, MN, SN, ParallelPaired, OwnPins, Disabled>: Sync,
impl<'a, 'd, T, M, S, MN, SN> Unpin for ParallelPairDisabled<'a, 'd, T, M, S, MN, SN>where
Transceiver<'a, 'd, T, M, S, ParallelPaired, OwnPins, Disabled>: Unpin,
Transceiver<'a, 'd, T, MN, SN, ParallelPaired, OwnPins, Disabled>: Unpin,
impl<'a, 'd, T, M, S, MN, SN> UnsafeUnpin for ParallelPairDisabled<'a, 'd, T, M, S, MN, SN>where
Transceiver<'a, 'd, T, M, S, ParallelPaired, OwnPins, Disabled>: UnsafeUnpin,
Transceiver<'a, 'd, T, MN, SN, ParallelPaired, OwnPins, Disabled>: UnsafeUnpin,
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