pub struct Channel3 {}
Expand description
A capture/compare channel of the timer.
Implementations§
source§impl Channel3
impl Channel3
sourcepub fn listen_dma(&self)
pub fn listen_dma(&self)
Allow the channel to generate DMA requests.
sourcepub fn to_output_compare(&self, value: u32)
pub fn to_output_compare(&self, value: u32)
Operate the channel as an output-compare.
§Args
value
- The value to compare the sampling timer’s counter against.
sourcepub fn into_input_capture(self, input: CaptureSource3) -> Channel3InputCapture
pub fn into_input_capture(self, input: CaptureSource3) -> Channel3InputCapture
Operate the channel in input-capture mode.
§Args
input
- The input source for the input capture event.
Auto Trait Implementations§
impl Freeze for Channel3
impl RefUnwindSafe for Channel3
impl Send for Channel3
impl Sync for Channel3
impl Unpin for Channel3
impl UnwindSafe for Channel3
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