Struct esp32h2::IEEE802154

source ·
pub struct IEEE802154 { /* private fields */ }
Expand description

IEEE802154 Peripheral

Implementations§

source§

impl IEEE802154

source

pub const PTR: *const RegisterBlock = {0x600a3000 as *const ieee802154::RegisterBlock}

Pointer to the register block

source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

source

pub unsafe fn steal() -> Self

Steal an instance of this peripheral

§Safety

Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.

Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.

Methods from Deref<Target = RegisterBlock>§

source

pub fn command(&self) -> &COMMAND

0x00 -

source

pub fn ctrl_cfg(&self) -> &CTRL_CFG

0x04 -

source

pub fn inf0_short_addr(&self) -> &INF0_SHORT_ADDR

0x08 -

source

pub fn inf0_pan_id(&self) -> &INF0_PAN_ID

0x0c -

source

pub fn inf0_extend_addr0(&self) -> &INF0_EXTEND_ADDR0

0x10 -

source

pub fn inf0_extend_addr1(&self) -> &INF0_EXTEND_ADDR1

0x14 -

source

pub fn inf1_short_addr(&self) -> &INF1_SHORT_ADDR

0x18 -

source

pub fn inf1_pan_id(&self) -> &INF1_PAN_ID

0x1c -

source

pub fn inf1_extend_addr0(&self) -> &INF1_EXTEND_ADDR0

0x20 -

source

pub fn inf1_extend_addr1(&self) -> &INF1_EXTEND_ADDR1

0x24 -

source

pub fn inf2_short_addr(&self) -> &INF2_SHORT_ADDR

0x28 -

source

pub fn inf2_pan_id(&self) -> &INF2_PAN_ID

0x2c -

source

pub fn inf2_extend_addr0(&self) -> &INF2_EXTEND_ADDR0

0x30 -

source

pub fn inf2_extend_addr1(&self) -> &INF2_EXTEND_ADDR1

0x34 -

source

pub fn inf3_short_addr(&self) -> &INF3_SHORT_ADDR

0x38 -

source

pub fn inf3_pan_id(&self) -> &INF3_PAN_ID

0x3c -

source

pub fn inf3_extend_addr0(&self) -> &INF3_EXTEND_ADDR0

0x40 -

source

pub fn inf3_extend_addr1(&self) -> &INF3_EXTEND_ADDR1

0x44 -

source

pub fn channel(&self) -> &CHANNEL

0x48 -

source

pub fn tx_power(&self) -> &TX_POWER

0x4c -

source

pub fn ed_scan_duration(&self) -> &ED_SCAN_DURATION

0x50 -

source

pub fn ed_scan_cfg(&self) -> &ED_SCAN_CFG

0x54 -

source

pub fn ifs(&self) -> &IFS

0x58 -

source

pub fn ack_timeout(&self) -> &ACK_TIMEOUT

0x5c -

source

pub fn event_en(&self) -> &EVENT_EN

0x60 -

source

pub fn event_status(&self) -> &EVENT_STATUS

0x64 -

source

pub fn rx_abort_intr_ctrl(&self) -> &RX_ABORT_INTR_CTRL

0x68 -

source

pub fn ack_frame_pending_en(&self) -> &ACK_FRAME_PENDING_EN

0x6c -

source

pub fn coex_pti(&self) -> &COEX_PTI

0x70 -

source

pub fn core_dummy_data(&self) -> &CORE_DUMMY_DATA

0x74 -

source

pub fn tx_abort_interrupt_control(&self) -> &TX_ABORT_INTERRUPT_CONTROL

0x78 -

source

pub fn enhance_ack_cfg(&self) -> &ENHANCE_ACK_CFG

0x7c -

source

pub fn rx_status(&self) -> &RX_STATUS

0x80 -

source

pub fn tx_status(&self) -> &TX_STATUS

0x84 -

source

pub fn txrx_status(&self) -> &TXRX_STATUS

0x88 -

source

pub fn tx_ccm_schedule_status(&self) -> &TX_CCM_SCHEDULE_STATUS

0x8c -

source

pub fn core_gck_cfg(&self) -> &CORE_GCK_CFG

0x90 -

source

pub fn test_control(&self) -> &TEST_CONTROL

0x94 -

source

pub fn dtm_config(&self) -> &DTM_CONFIG

0x98 -

source

pub fn dtm_tx_pkt_config(&self) -> &DTM_TX_PKT_CONFIG

0x9c -

source

pub fn dtm_pkt_counter(&self) -> &DTM_PKT_COUNTER

0xa0 -

source

pub fn rx_length(&self) -> &RX_LENGTH

0xa4 -

source

pub fn time0_threshold(&self) -> &TIME0_THRESHOLD

0xa8 -

source

pub fn time0_value(&self) -> &TIME0_VALUE

0xac -

source

pub fn time1_threshold(&self) -> &TIME1_THRESHOLD

0xb0 -

source

pub fn time1_value(&self) -> &TIME1_VALUE

0xb4 -

source

pub fn clk_counter_match_val(&self) -> &CLK_COUNTER_MATCH_VAL

0xb8 -

source

pub fn clk_counter(&self) -> &CLK_COUNTER

0xbc -

source

pub fn ifs_counter(&self) -> &IFS_COUNTER

0xc0 -

source

pub fn sfd_wait_symbol(&self) -> &SFD_WAIT_SYMBOL

0xc4 -

source

pub fn txrx_path_delay(&self) -> &TXRX_PATH_DELAY

0xc8 -

source

pub fn bb_clk(&self) -> &BB_CLK

0xcc -

source

pub fn txdma_addr(&self) -> &TXDMA_ADDR

0xd0 -

source

pub fn txdma_ctrl_state(&self) -> &TXDMA_CTRL_STATE

0xd4 -

source

pub fn txdma_err(&self) -> &TXDMA_ERR

0xd8 -

source

pub fn rxdma_addr(&self) -> &RXDMA_ADDR

0xe0 -

source

pub fn rxdma_ctrl_state(&self) -> &RXDMA_CTRL_STATE

0xe4 -

source

pub fn rxdma_err(&self) -> &RXDMA_ERR

0xe8 -

source

pub fn dma_gck_cfg(&self) -> &DMA_GCK_CFG

0xf0 -

source

pub fn dma_dummy(&self) -> &DMA_DUMMY

0xf4 -

source

pub fn paon_delay(&self) -> &PAON_DELAY

0x100 -

source

pub fn txon_delay(&self) -> &TXON_DELAY

0x104 -

source

pub fn txen_stop_delay(&self) -> &TXEN_STOP_DELAY

0x108 -

source

pub fn txoff_delay(&self) -> &TXOFF_DELAY

0x10c -

source

pub fn rxon_delay(&self) -> &RXON_DELAY

0x110 -

source

pub fn txrx_switch_delay(&self) -> &TXRX_SWITCH_DELAY

0x114 -

source

pub fn cont_rx_delay(&self) -> &CONT_RX_DELAY

0x118 -

source

pub fn dcdc_ctrl(&self) -> &DCDC_CTRL

0x11c -

source

pub fn debug_ctrl(&self) -> &DEBUG_CTRL

0x120 -

source

pub fn sec_ctrl(&self) -> &SEC_CTRL

0x128 -

source

pub fn sec_extend_address0(&self) -> &SEC_EXTEND_ADDRESS0

0x12c -

source

pub fn sec_extend_address1(&self) -> &SEC_EXTEND_ADDRESS1

0x130 -

source

pub fn sec_key0(&self) -> &SEC_KEY0

0x134 -

source

pub fn sec_key1(&self) -> &SEC_KEY1

0x138 -

source

pub fn sec_key2(&self) -> &SEC_KEY2

0x13c -

source

pub fn sec_key3(&self) -> &SEC_KEY3

0x140 -

source

pub fn sfd_timeout_cnt(&self) -> &SFD_TIMEOUT_CNT

0x144 -

source

pub fn crc_error_cnt(&self) -> &CRC_ERROR_CNT

0x148 -

source

pub fn ed_abort_cnt(&self) -> &ED_ABORT_CNT

0x14c -

source

pub fn cca_fail_cnt(&self) -> &CCA_FAIL_CNT

0x150 -

source

pub fn rx_filter_fail_cnt(&self) -> &RX_FILTER_FAIL_CNT

0x154 -

source

pub fn no_rss_detect_cnt(&self) -> &NO_RSS_DETECT_CNT

0x158 -

source

pub fn rx_abort_coex_cnt(&self) -> &RX_ABORT_COEX_CNT

0x15c -

source

pub fn rx_restart_cnt(&self) -> &RX_RESTART_CNT

0x160 -

source

pub fn tx_ack_abort_coex_cnt(&self) -> &TX_ACK_ABORT_COEX_CNT

0x164 -

source

pub fn ed_scan_coex_cnt(&self) -> &ED_SCAN_COEX_CNT

0x168 -

source

pub fn rx_ack_abort_coex_cnt(&self) -> &RX_ACK_ABORT_COEX_CNT

0x16c -

source

pub fn rx_ack_timeout_cnt(&self) -> &RX_ACK_TIMEOUT_CNT

0x170 -

source

pub fn tx_break_coex_cnt(&self) -> &TX_BREAK_COEX_CNT

0x174 -

source

pub fn tx_security_error_cnt(&self) -> &TX_SECURITY_ERROR_CNT

0x178 -

source

pub fn cca_busy_cnt(&self) -> &CCA_BUSY_CNT

0x17c -

source

pub fn error_cnt_clear(&self) -> &ERROR_CNT_CLEAR

0x180 -

source

pub fn debug_sel_cfg0(&self) -> &DEBUG_SEL_CFG0

0x184 -

source

pub fn debug_sel_cfg1(&self) -> &DEBUG_SEL_CFG1

0x188 -

source

pub fn mac_date(&self) -> &MAC_DATE

0x18c -

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

§

type Target = RegisterBlock

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl Send for IEEE802154

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<T, U> TryFrom<U> for T
where U: Into<T>,

§

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>,

§

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.