pub struct ChannelCreator<M, const CHANNEL: u8>where
M: Mode,{ /* private fields */ }Expand description
RMT Channel Creator
Trait Implementations§
Source§impl<'d, P> RxChannelCreator<'d, Channel<Blocking, 2>, P> for ChannelCreator<Blocking, 2>where
P: PeripheralInput,
impl<'d, P> RxChannelCreator<'d, Channel<Blocking, 2>, P> for ChannelCreator<Blocking, 2>where
P: PeripheralInput,
Source§fn configure(
self,
pin: impl Peripheral<P = P> + 'd,
config: RxChannelConfig,
) -> Result<T, Error>where
Self: Sized,
fn configure(
self,
pin: impl Peripheral<P = P> + 'd,
config: RxChannelConfig,
) -> Result<T, Error>where
Self: Sized,
Configure the RX channel
Source§impl<'d, P> RxChannelCreator<'d, Channel<Blocking, 3>, P> for ChannelCreator<Blocking, 3>where
P: PeripheralInput,
impl<'d, P> RxChannelCreator<'d, Channel<Blocking, 3>, P> for ChannelCreator<Blocking, 3>where
P: PeripheralInput,
Source§fn configure(
self,
pin: impl Peripheral<P = P> + 'd,
config: RxChannelConfig,
) -> Result<T, Error>where
Self: Sized,
fn configure(
self,
pin: impl Peripheral<P = P> + 'd,
config: RxChannelConfig,
) -> Result<T, Error>where
Self: Sized,
Configure the RX channel
Source§impl<'d, P> RxChannelCreatorAsync<'d, Channel<Async, 2>, P> for ChannelCreator<Async, 2>where
P: PeripheralInput,
impl<'d, P> RxChannelCreatorAsync<'d, Channel<Async, 2>, P> for ChannelCreator<Async, 2>where
P: PeripheralInput,
Source§fn configure(
self,
pin: impl Peripheral<P = P> + 'd,
config: RxChannelConfig,
) -> Result<T, Error>where
Self: Sized,
fn configure(
self,
pin: impl Peripheral<P = P> + 'd,
config: RxChannelConfig,
) -> Result<T, Error>where
Self: Sized,
Configure the RX channel
Source§impl<'d, P> RxChannelCreatorAsync<'d, Channel<Async, 3>, P> for ChannelCreator<Async, 3>where
P: PeripheralInput,
impl<'d, P> RxChannelCreatorAsync<'d, Channel<Async, 3>, P> for ChannelCreator<Async, 3>where
P: PeripheralInput,
Source§fn configure(
self,
pin: impl Peripheral<P = P> + 'd,
config: RxChannelConfig,
) -> Result<T, Error>where
Self: Sized,
fn configure(
self,
pin: impl Peripheral<P = P> + 'd,
config: RxChannelConfig,
) -> Result<T, Error>where
Self: Sized,
Configure the RX channel
Source§impl<'d, P> TxChannelCreator<'d, Channel<Blocking, 0>, P> for ChannelCreator<Blocking, 0>where
P: PeripheralOutput,
impl<'d, P> TxChannelCreator<'d, Channel<Blocking, 0>, P> for ChannelCreator<Blocking, 0>where
P: PeripheralOutput,
Source§fn configure(
self,
pin: impl Peripheral<P = P> + 'd,
config: TxChannelConfig,
) -> Result<T, Error>where
Self: Sized,
fn configure(
self,
pin: impl Peripheral<P = P> + 'd,
config: TxChannelConfig,
) -> Result<T, Error>where
Self: Sized,
Configure the TX channel
Source§impl<'d, P> TxChannelCreator<'d, Channel<Blocking, 1>, P> for ChannelCreator<Blocking, 1>where
P: PeripheralOutput,
impl<'d, P> TxChannelCreator<'d, Channel<Blocking, 1>, P> for ChannelCreator<Blocking, 1>where
P: PeripheralOutput,
Source§fn configure(
self,
pin: impl Peripheral<P = P> + 'd,
config: TxChannelConfig,
) -> Result<T, Error>where
Self: Sized,
fn configure(
self,
pin: impl Peripheral<P = P> + 'd,
config: TxChannelConfig,
) -> Result<T, Error>where
Self: Sized,
Configure the TX channel
Source§impl<'d, P> TxChannelCreatorAsync<'d, Channel<Async, 0>, P> for ChannelCreator<Async, 0>where
P: PeripheralOutput,
impl<'d, P> TxChannelCreatorAsync<'d, Channel<Async, 0>, P> for ChannelCreator<Async, 0>where
P: PeripheralOutput,
Source§fn configure(
self,
pin: impl Peripheral<P = P> + 'd,
config: TxChannelConfig,
) -> Result<T, Error>where
Self: Sized,
fn configure(
self,
pin: impl Peripheral<P = P> + 'd,
config: TxChannelConfig,
) -> Result<T, Error>where
Self: Sized,
Configure the TX channel
Source§impl<'d, P> TxChannelCreatorAsync<'d, Channel<Async, 1>, P> for ChannelCreator<Async, 1>where
P: PeripheralOutput,
impl<'d, P> TxChannelCreatorAsync<'d, Channel<Async, 1>, P> for ChannelCreator<Async, 1>where
P: PeripheralOutput,
Source§fn configure(
self,
pin: impl Peripheral<P = P> + 'd,
config: TxChannelConfig,
) -> Result<T, Error>where
Self: Sized,
fn configure(
self,
pin: impl Peripheral<P = P> + 'd,
config: TxChannelConfig,
) -> Result<T, Error>where
Self: Sized,
Configure the TX channel
Auto Trait Implementations§
impl<M, const CHANNEL: u8> Freeze for ChannelCreator<M, CHANNEL>
impl<M, const CHANNEL: u8> RefUnwindSafe for ChannelCreator<M, CHANNEL>where
M: RefUnwindSafe,
impl<M, const CHANNEL: u8> Send for ChannelCreator<M, CHANNEL>where
M: Send,
impl<M, const CHANNEL: u8> Sync for ChannelCreator<M, CHANNEL>where
M: Sync,
impl<M, const CHANNEL: u8> Unpin for ChannelCreator<M, CHANNEL>where
M: Unpin,
impl<M, const CHANNEL: u8> UnwindSafe for ChannelCreator<M, CHANNEL>where
M: UnwindSafe,
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