esp_hal::peripherals

Struct IEEE802154

Source
pub struct IEEE802154 { /* private fields */ }
Expand description

Represents a virtual peripheral with no associated hardware.

This struct is generated by the create_peripheral! macro when the peripheral is defined as virtual.

Implementations§

Source§

impl IEEE802154

Source

pub unsafe fn steal() -> Self

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.

Source§

impl IEEE802154

Source

pub const PTR: *const <IEEE802154 as Deref>::Target = {0x600a3000 as *const <esp32c6::IEEE802154 as core::ops::Deref>::Target}

Pointer to the register block

Source

pub const fn ptr() -> *const <IEEE802154 as Deref>::Target

Return the pointer to the register block

Methods from Deref<Target = RegisterBlock>§

Source

pub fn command(&self) -> &Reg<COMMAND_SPEC>

0x00 -

Source

pub fn ctrl_cfg(&self) -> &Reg<CTRL_CFG_SPEC>

0x04 -

Source

pub fn inf0_short_addr(&self) -> &Reg<INF0_SHORT_ADDR_SPEC>

0x08 -

Source

pub fn inf0_pan_id(&self) -> &Reg<INF0_PAN_ID_SPEC>

0x0c -

Source

pub fn inf0_extend_addr0(&self) -> &Reg<INF0_EXTEND_ADDR0_SPEC>

0x10 -

Source

pub fn inf0_extend_addr1(&self) -> &Reg<INF0_EXTEND_ADDR1_SPEC>

0x14 -

Source

pub fn inf1_short_addr(&self) -> &Reg<INF1_SHORT_ADDR_SPEC>

0x18 -

Source

pub fn inf1_pan_id(&self) -> &Reg<INF1_PAN_ID_SPEC>

0x1c -

Source

pub fn inf1_extend_addr0(&self) -> &Reg<INF1_EXTEND_ADDR0_SPEC>

0x20 -

Source

pub fn inf1_extend_addr1(&self) -> &Reg<INF1_EXTEND_ADDR1_SPEC>

0x24 -

Source

pub fn inf2_short_addr(&self) -> &Reg<INF2_SHORT_ADDR_SPEC>

0x28 -

Source

pub fn inf2_pan_id(&self) -> &Reg<INF2_PAN_ID_SPEC>

0x2c -

Source

pub fn inf2_extend_addr0(&self) -> &Reg<INF2_EXTEND_ADDR0_SPEC>

0x30 -

Source

pub fn inf2_extend_addr1(&self) -> &Reg<INF2_EXTEND_ADDR1_SPEC>

0x34 -

Source

pub fn inf3_short_addr(&self) -> &Reg<INF3_SHORT_ADDR_SPEC>

0x38 -

Source

pub fn inf3_pan_id(&self) -> &Reg<INF3_PAN_ID_SPEC>

0x3c -

Source

pub fn inf3_extend_addr0(&self) -> &Reg<INF3_EXTEND_ADDR0_SPEC>

0x40 -

Source

pub fn inf3_extend_addr1(&self) -> &Reg<INF3_EXTEND_ADDR1_SPEC>

0x44 -

Source

pub fn channel(&self) -> &Reg<CHANNEL_SPEC>

0x48 -

Source

pub fn tx_power(&self) -> &Reg<TX_POWER_SPEC>

0x4c -

Source

pub fn ed_scan_duration(&self) -> &Reg<ED_SCAN_DURATION_SPEC>

0x50 -

Source

pub fn ed_scan_cfg(&self) -> &Reg<ED_SCAN_CFG_SPEC>

0x54 -

Source

pub fn ifs(&self) -> &Reg<IFS_SPEC>

0x58 -

Source

pub fn ack_timeout(&self) -> &Reg<ACK_TIMEOUT_SPEC>

0x5c -

Source

pub fn event_en(&self) -> &Reg<EVENT_EN_SPEC>

0x60 -

Source

pub fn event_status(&self) -> &Reg<EVENT_STATUS_SPEC>

0x64 -

Source

pub fn rx_abort_intr_ctrl(&self) -> &Reg<RX_ABORT_INTR_CTRL_SPEC>

0x68 -

Source

pub fn ack_frame_pending_en(&self) -> &Reg<ACK_FRAME_PENDING_EN_SPEC>

0x6c -

Source

pub fn coex_pti(&self) -> &Reg<COEX_PTI_SPEC>

0x70 -

Source

pub fn core_dummy_data(&self) -> &Reg<CORE_DUMMY_DATA_SPEC>

0x74 -

Source

pub fn tx_abort_interrupt_control( &self, ) -> &Reg<TX_ABORT_INTERRUPT_CONTROL_SPEC>

0x78 -

Source

pub fn enhance_ack_cfg(&self) -> &Reg<ENHANCE_ACK_CFG_SPEC>

0x7c -

Source

pub fn rx_status(&self) -> &Reg<RX_STATUS_SPEC>

0x80 -

Source

pub fn tx_status(&self) -> &Reg<TX_STATUS_SPEC>

0x84 -

Source

pub fn txrx_status(&self) -> &Reg<TXRX_STATUS_SPEC>

0x88 -

Source

pub fn tx_ccm_schedule_status(&self) -> &Reg<TX_CCM_SCHEDULE_STATUS_SPEC>

0x8c -

Source

pub fn core_gck_cfg(&self) -> &Reg<CORE_GCK_CFG_SPEC>

0x90 -

Source

pub fn test_control(&self) -> &Reg<TEST_CONTROL_SPEC>

0x94 -

Source

pub fn dtm_config(&self) -> &Reg<DTM_CONFIG_SPEC>

0x98 -

Source

pub fn dtm_tx_pkt_config(&self) -> &Reg<DTM_TX_PKT_CONFIG_SPEC>

0x9c -

Source

pub fn dtm_pkt_counter(&self) -> &Reg<DTM_PKT_COUNTER_SPEC>

0xa0 -

Source

pub fn rx_length(&self) -> &Reg<RX_LENGTH_SPEC>

0xa4 -

Source

pub fn time0_threshold(&self) -> &Reg<TIME0_THRESHOLD_SPEC>

0xa8 -

Source

pub fn time0_value(&self) -> &Reg<TIME0_VALUE_SPEC>

0xac -

Source

pub fn time1_threshold(&self) -> &Reg<TIME1_THRESHOLD_SPEC>

0xb0 -

Source

pub fn time1_value(&self) -> &Reg<TIME1_VALUE_SPEC>

0xb4 -

Source

pub fn clk_counter_match_val(&self) -> &Reg<CLK_COUNTER_MATCH_VAL_SPEC>

0xb8 -

Source

pub fn clk_counter(&self) -> &Reg<CLK_COUNTER_SPEC>

0xbc -

Source

pub fn ifs_counter(&self) -> &Reg<IFS_COUNTER_SPEC>

0xc0 -

Source

pub fn sfd_wait_symbol(&self) -> &Reg<SFD_WAIT_SYMBOL_SPEC>

0xc4 -

Source

pub fn txrx_path_delay(&self) -> &Reg<TXRX_PATH_DELAY_SPEC>

0xc8 -

Source

pub fn bb_clk(&self) -> &Reg<BB_CLK_SPEC>

0xcc -

Source

pub fn txdma_addr(&self) -> &Reg<TXDMA_ADDR_SPEC>

0xd0 -

Source

pub fn txdma_ctrl_state(&self) -> &Reg<TXDMA_CTRL_STATE_SPEC>

0xd4 -

Source

pub fn txdma_err(&self) -> &Reg<TXDMA_ERR_SPEC>

0xd8 -

Source

pub fn rxdma_addr(&self) -> &Reg<RXDMA_ADDR_SPEC>

0xe0 -

Source

pub fn rxdma_ctrl_state(&self) -> &Reg<RXDMA_CTRL_STATE_SPEC>

0xe4 -

Source

pub fn rxdma_err(&self) -> &Reg<RXDMA_ERR_SPEC>

0xe8 -

Source

pub fn dma_gck_cfg(&self) -> &Reg<DMA_GCK_CFG_SPEC>

0xf0 -

Source

pub fn dma_dummy(&self) -> &Reg<DMA_DUMMY_SPEC>

0xf4 -

Source

pub fn paon_delay(&self) -> &Reg<PAON_DELAY_SPEC>

0x100 -

Source

pub fn txon_delay(&self) -> &Reg<TXON_DELAY_SPEC>

0x104 -

Source

pub fn txen_stop_delay(&self) -> &Reg<TXEN_STOP_DELAY_SPEC>

0x108 -

Source

pub fn txoff_delay(&self) -> &Reg<TXOFF_DELAY_SPEC>

0x10c -

Source

pub fn rxon_delay(&self) -> &Reg<RXON_DELAY_SPEC>

0x110 -

Source

pub fn txrx_switch_delay(&self) -> &Reg<TXRX_SWITCH_DELAY_SPEC>

0x114 -

Source

pub fn cont_rx_delay(&self) -> &Reg<CONT_RX_DELAY_SPEC>

0x118 -

Source

pub fn dcdc_ctrl(&self) -> &Reg<DCDC_CTRL_SPEC>

0x11c -

Source

pub fn debug_ctrl(&self) -> &Reg<DEBUG_CTRL_SPEC>

0x120 -

Source

pub fn sec_ctrl(&self) -> &Reg<SEC_CTRL_SPEC>

0x128 -

Source

pub fn sec_extend_address0(&self) -> &Reg<SEC_EXTEND_ADDRESS0_SPEC>

0x12c -

Source

pub fn sec_extend_address1(&self) -> &Reg<SEC_EXTEND_ADDRESS1_SPEC>

0x130 -

Source

pub fn sec_key0(&self) -> &Reg<SEC_KEY0_SPEC>

0x134 -

Source

pub fn sec_key1(&self) -> &Reg<SEC_KEY1_SPEC>

0x138 -

Source

pub fn sec_key2(&self) -> &Reg<SEC_KEY2_SPEC>

0x13c -

Source

pub fn sec_key3(&self) -> &Reg<SEC_KEY3_SPEC>

0x140 -

Source

pub fn sfd_timeout_cnt(&self) -> &Reg<SFD_TIMEOUT_CNT_SPEC>

0x144 -

Source

pub fn crc_error_cnt(&self) -> &Reg<CRC_ERROR_CNT_SPEC>

0x148 -

Source

pub fn ed_abort_cnt(&self) -> &Reg<ED_ABORT_CNT_SPEC>

0x14c -

Source

pub fn cca_fail_cnt(&self) -> &Reg<CCA_FAIL_CNT_SPEC>

0x150 -

Source

pub fn rx_filter_fail_cnt(&self) -> &Reg<RX_FILTER_FAIL_CNT_SPEC>

0x154 -

Source

pub fn no_rss_detect_cnt(&self) -> &Reg<NO_RSS_DETECT_CNT_SPEC>

0x158 -

Source

pub fn rx_abort_coex_cnt(&self) -> &Reg<RX_ABORT_COEX_CNT_SPEC>

0x15c -

Source

pub fn rx_restart_cnt(&self) -> &Reg<RX_RESTART_CNT_SPEC>

0x160 -

Source

pub fn tx_ack_abort_coex_cnt(&self) -> &Reg<TX_ACK_ABORT_COEX_CNT_SPEC>

0x164 -

Source

pub fn ed_scan_coex_cnt(&self) -> &Reg<ED_SCAN_COEX_CNT_SPEC>

0x168 -

Source

pub fn rx_ack_abort_coex_cnt(&self) -> &Reg<RX_ACK_ABORT_COEX_CNT_SPEC>

0x16c -

Source

pub fn rx_ack_timeout_cnt(&self) -> &Reg<RX_ACK_TIMEOUT_CNT_SPEC>

0x170 -

Source

pub fn tx_break_coex_cnt(&self) -> &Reg<TX_BREAK_COEX_CNT_SPEC>

0x174 -

Source

pub fn tx_security_error_cnt(&self) -> &Reg<TX_SECURITY_ERROR_CNT_SPEC>

0x178 -

Source

pub fn cca_busy_cnt(&self) -> &Reg<CCA_BUSY_CNT_SPEC>

0x17c -

Source

pub fn error_cnt_clear(&self) -> &Reg<ERROR_CNT_CLEAR_SPEC>

0x180 -

Source

pub fn mac_date(&self) -> &Reg<MAC_DATE_SPEC>

0x184 -

Trait Implementations§

Source§

impl Debug for IEEE802154

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Deref for IEEE802154

Source§

type Target = <IEEE802154 as Deref>::Target

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl DerefMut for IEEE802154

Source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
Source§

impl Peripheral for IEEE802154

Source§

type P = IEEE802154

Peripheral singleton type
Source§

unsafe fn clone_unchecked(&self) -> Self::P

Unsafely clone (duplicate) a peripheral singleton. Read more
Source§

fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>
where Self: 'a,

Convert a value into a PeripheralRef. Read more
Source§

fn map_into<U>(self) -> U
where Self::P: Into<U>, U: Peripheral<P = U>,

Map the peripheral using Into. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.