Struct esp32c3_hal::pulse_control::Channel0
source · pub struct Channel0 { /* private fields */ }
Expand description
RX/TX Input/Output Channel
Implementations
Trait Implementations
sourceimpl OutputChannel<ConfiguredChannel0> for Channel0
impl OutputChannel<ConfiguredChannel0> for Channel0
sourcefn set_idle_output_level(&mut self, level: bool) -> &mut Channel0
fn set_idle_output_level(&mut self, level: bool) -> &mut Channel0
Set the logical level that the connected pin is pulled to while the channel is idle
sourcefn set_idle_output(&mut self, state: bool) -> &mut Channel0
fn set_idle_output(&mut self, state: bool) -> &mut Channel0
Enable/Disable the output while the channel is idle
sourcefn set_channel_divider(&mut self, divider: u8) -> &mut Channel0
fn set_channel_divider(&mut self, divider: u8) -> &mut Channel0
Set channel clock divider value
sourcefn set_carrier_modulation(&mut self, state: bool) -> &mut Channel0
fn set_carrier_modulation(&mut self, state: bool) -> &mut Channel0
Enable/Disable carrier modulation
sourcefn assign_pin<RmtPin>(self, pin: RmtPin) -> ConfiguredChannel0where
RmtPin: OutputPin,
fn assign_pin<RmtPin>(self, pin: RmtPin) -> ConfiguredChannel0where
RmtPin: OutputPin,
Assign a pin that should be driven by this channel
Auto Trait Implementations
impl RefUnwindSafe for Channel0
impl Send for Channel0
impl Sync for Channel0
impl Unpin for Channel0
impl UnwindSafe for Channel0
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more