pub struct Channel1 { /* private fields */ }
Expand description

RX/TX Input/Output Channel

Implementations

Create a new channel instance

Trait Implementations

Set the logical level that the connected pin is pulled to while the channel is idle

Enable/Disable the output while the channel is idle

Set channel clock divider value

Enable/Disable carrier modulation

Assign a pin that should be driven by this channel

Send a pulse sequence in a blocking fashion

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!

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.