pub struct ConfiguredChannel0<'d, P> { /* private fields */ }
Expand description

Wrapper forChannel0 object.

Trait Implementations§

source§

impl<'d, P> ConfiguredChannel for ConfiguredChannel0<'d, P>where P: OutputPin,

source§

fn send_pulse_sequence<const N: usize>( &mut self, repeat_mode: RepeatMode, sequence: &[PulseCode; N] ) -> Result<(), TransmissionError>

Send a pulse sequence in a blocking fashion

source§

fn send_pulse_sequence_raw<const N: usize>( &mut self, repeat_mode: RepeatMode, sequence: &[u32; N] ) -> Result<(), TransmissionError>

Send a raw pulse sequence in a blocking fashion

In this function we expect the sequence elements to be already in the correct u32 format that is understood by the RMT. Please refer to the reference manual or use the variant which accepts PulseCode objects instead.

We expect that the end marker is already part of the provided sequence and to be provided in all modes!

source§

fn stop_transmission(&self)

Stop any ongoing (repetitive) transmission

This function needs to be called to stop sending when previously a sequence was sent with RepeatMode::Forever.

Auto Trait Implementations§

§

impl<'d, P> RefUnwindSafe for ConfiguredChannel0<'d, P>where P: RefUnwindSafe,

§

impl<'d, P> Send for ConfiguredChannel0<'d, P>where P: Send,

§

impl<'d, P> Sync for ConfiguredChannel0<'d, P>where P: Sync,

§

impl<'d, P> Unpin for ConfiguredChannel0<'d, P>where P: Unpin,

§

impl<'d, P> !UnwindSafe for ConfiguredChannel0<'d, P>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.