Struct esp32c3_hal::peripherals::RMT
source · pub struct RMT { /* private fields */ }
Implementations§
source§impl RMT
impl RMT
sourcepub unsafe fn steal() -> RMT
pub unsafe fn steal() -> RMT
Unsafely create an instance of this peripheral out of thin air.
Safety
You must ensure that you’re only using one instance of this type at a time.
Methods from Deref<Target = RegisterBlock>§
pub fn ch2_rx_status(&self) -> &Reg<CH_RX_STATUS_SPEC>
pub fn ch2_rx_status(&self) -> &Reg<CH_RX_STATUS_SPEC>
0x30 - RMT_CH2STATUS_REG.
pub fn ch3_rx_status(&self) -> &Reg<CH_RX_STATUS_SPEC>
pub fn ch3_rx_status(&self) -> &Reg<CH_RX_STATUS_SPEC>
0x34 - RMT_CH2STATUS_REG.
pub fn ch2_rx_carrier_rm(&self) -> &Reg<CH_RX_CARRIER_RM_SPEC>
pub fn ch2_rx_carrier_rm(&self) -> &Reg<CH_RX_CARRIER_RM_SPEC>
0x50 - RMT_CH2_RX_CARRIER_RM_REG.
pub fn ch3_rx_carrier_rm(&self) -> &Reg<CH_RX_CARRIER_RM_SPEC>
pub fn ch3_rx_carrier_rm(&self) -> &Reg<CH_RX_CARRIER_RM_SPEC>
0x54 - RMT_CH2_RX_CARRIER_RM_REG.
pub fn ch2_rx_lim(&self) -> &Reg<CH_RX_LIM_SPEC>
pub fn ch2_rx_lim(&self) -> &Reg<CH_RX_LIM_SPEC>
0x60 - RMT_CH2_RX_LIM_REG.
pub fn ch3_rx_lim(&self) -> &Reg<CH_RX_LIM_SPEC>
pub fn ch3_rx_lim(&self) -> &Reg<CH_RX_LIM_SPEC>
0x64 - RMT_CH2_RX_LIM_REG.
Trait Implementations§
source§impl Peripheral for RMT
impl Peripheral for RMT
Auto Trait Implementations§
impl RefUnwindSafe for RMT
impl Send for RMT
impl Sync for RMT
impl Unpin for RMT
impl UnwindSafe for RMT
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