[−][src]Struct nrf52811_hal::pwm::PwmSeq
A Pwm sequence wrapper
Implementations
impl<T, B0, B1> PwmSeq<T, B0, B1> where
B0: ReadBuffer<Word = u16> + 'static,
B1: ReadBuffer<Word = u16> + 'static,
T: Instance,
[src]
B0: ReadBuffer<Word = u16> + 'static,
B1: ReadBuffer<Word = u16> + 'static,
T: Instance,
pub fn split(self) -> (Option<B0>, Option<B1>, Pwm<T>)
[src]
Returns the wrapped contents.
pub fn stop(&self)
[src]
Stops PWM generation.
pub fn start_seq(&self, seq: Seq)
[src]
Starts playing the given sequence.
pub fn is_event_triggered(&self, event: PwmEvent) -> bool
[src]
Checks if the given event has been triggered.
pub fn reset_event(&self, event: PwmEvent)
[src]
Marks the given event as handled.
Trait Implementations
Auto Trait Implementations
impl<T, B0, B1> Send for PwmSeq<T, B0, B1> where
B0: Send,
B1: Send,
T: Send,
B0: Send,
B1: Send,
T: Send,
impl<T, B0, B1> Sync for PwmSeq<T, B0, B1> where
B0: Sync,
B1: Sync,
T: Sync,
B0: Sync,
B1: Sync,
T: Sync,
impl<T, B0, B1> Unpin for PwmSeq<T, B0, B1> where
B0: Unpin,
B1: Unpin,
T: Unpin,
B0: Unpin,
B1: Unpin,
T: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>,
[src]
Dst: LosslessTryFrom<Src>,
pub fn lossless_try_into(self) -> Option<Dst>
[src]
impl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>,
[src]
Dst: LossyFrom<Src>,
pub fn lossy_into(self) -> Dst
[src]
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,