Struct RegisterBlock

Source
#[repr(C)]
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn filter_bank(&self, n: usize) -> &FILTER_BANK

0x00..0x80 - Filter banks for frame reception. Bank zero is for the BSSID and bank one for the RA. Each filter bank has registers for two interfaces.

Source

pub fn filter_bank_iter(&self) -> impl Iterator<Item = &FILTER_BANK>

Iterator for array of: 0x00..0x80 - Filter banks for frame reception. Bank zero is for the BSSID and bank one for the RA. Each filter bank has registers for two interfaces.

Source

pub const fn rx_ctrl(&self) -> &RX_CTRL

0x84 - Controls the reception of frames

Source

pub const fn rx_dma_list(&self) -> &RX_DMA_LIST

0x88..0x94 - RX_DMA_LIST

Source

pub const fn interface_rx_control(&self, n: usize) -> &INTERFACE_RX_CONTROL

0xd8..0xe8 - Controls RX for an interface

Source

pub fn interface_rx_control_iter( &self, ) -> impl Iterator<Item = &INTERFACE_RX_CONTROL>

Iterator for array of: 0xd8..0xe8 - Controls RX for an interface

Source

pub const fn hw_stat_ack_int(&self) -> &HW_STAT_ACK_INT

0x2bc -

Source

pub const fn hw_stat_rts_int(&self) -> &HW_STAT_RTS_INT

0x2c0 -

Source

pub const fn hw_stat_cts_int(&self) -> &HW_STAT_CTS_INT

0x2c4 -

Source

pub const fn hw_stat_rifs_int(&self) -> &HW_STAT_RIFS_INT

0x2c8 -

Source

pub const fn hw_stat_rx_success(&self) -> &HW_STAT_RX_SUCCESS

0x2cc -

Source

pub const fn hw_stat_rx_end(&self) -> &HW_STAT_RX_END

0x2d0 -

Source

pub const fn hw_stat_hop_err(&self) -> &HW_STAT_HOP_ERR

0x2d8 -

Source

pub const fn hw_stat_full2(&self) -> &HW_STAT_FULL2

0x2dc -

Source

pub const fn hw_stat_block_err(&self) -> &HW_STAT_BLOCK_ERR

0x2e0 -

Source

pub const fn crypto_control(&self) -> &CRYPTO_CONTROL

0x800..0x818 - Control registers for hardware crypto

Source

pub const fn mac_time(&self) -> &MAC_TIME

0xc00 - Current value of the MAC timer

Source

pub const fn mac_interrupt(&self) -> &MAC_INTERRUPT

0xc48..0xc50 - Status and clear for the Wi-Fi MAC interrupt

Source

pub const fn ctrl(&self) -> &CTRL

0xcb8 - Exact name and meaning unknown, used for initializing the MAC

Source

pub const fn txq_state(&self) -> &TXQ_STATE

0xcbc..0xccc - State of transmission queues

Source

pub const fn tx_slot_config(&self, n: usize) -> &TX_SLOT_CONFIG

0xcfc..0xd24 - Used to configure the TX slot.

Source

pub fn tx_slot_config_iter(&self) -> impl Iterator<Item = &TX_SLOT_CONFIG>

Iterator for array of: 0xcfc..0xd24 - Used to configure the TX slot.

Source

pub const fn hw_stat_tx_rts(&self) -> &HW_STAT_TX_RTS

0xd58 -

Source

pub const fn hw_stat_tx_cts(&self) -> &HW_STAT_TX_CTS

0xd5c -

Source

pub const fn hw_stat_tx_ack(&self) -> &HW_STAT_TX_ACK

0xd60 -

Source

pub const fn hw_stat_trcts(&self) -> &HW_STAT_TRCTS

0xd64 -

Source

pub const fn hw_stat_trigger(&self) -> &HW_STAT_TRIGGER

0xd68 -

Source

pub const fn hw_stat_tx_hung(&self) -> &HW_STAT_TX_HUNG

0xd6c -

Source

pub const fn hw_stat_panic(&self) -> &HW_STAT_PANIC

0xd70 -

Source

pub const fn plcp1(&self, n: usize) -> &PLCP1

0x1168..0x117c - PLCP1

Source

pub fn plcp1_iter(&self) -> impl Iterator<Item = &PLCP1>

Iterator for array of: 0x1168..0x117c - PLCP1

Source

pub const fn plcp2(&self, n: usize) -> &PLCP2

0x116c..0x1180 - PLCP2

Source

pub fn plcp2_iter(&self) -> impl Iterator<Item = &PLCP2>

Iterator for array of: 0x116c..0x1180 - PLCP2

Source

pub const fn ht_sig(&self, n: usize) -> &HT_SIG

0x1170..0x1184 - HT-SIG field in HT preamble

Source

pub fn ht_sig_iter(&self) -> impl Iterator<Item = &HT_SIG>

Iterator for array of: 0x1170..0x1184 - HT-SIG field in HT preamble

Source

pub const fn ht_unknown(&self, n: usize) -> &HT_UNKNOWN

0x1174..0x1188 - exact meaning and name unknown, related to HT

Source

pub fn ht_unknown_iter(&self) -> impl Iterator<Item = &HT_UNKNOWN>

Iterator for array of: 0x1174..0x1188 - exact meaning and name unknown, related to HT

Source

pub const fn duration(&self, n: usize) -> &DURATION

0x1178..0x118c - duration of the frame exchange

Source

pub fn duration_iter(&self) -> impl Iterator<Item = &DURATION>

Iterator for array of: 0x1178..0x118c - duration of the frame exchange

Source

pub const fn pmd(&self, n: usize) -> &PMD

0x1180..0x1194 -

Source

pub fn pmd_iter(&self) -> impl Iterator<Item = &PMD>

Iterator for array of: 0x1180..0x1194 -

Source

pub const fn crypto_key_slot(&self, n: usize) -> &CRYPTO_KEY_SLOT

0x1400..0x17e8 - Cryptographic keys for MPDU encapsulation and decapsulation

Source

pub fn crypto_key_slot_iter(&self) -> impl Iterator<Item = &CRYPTO_KEY_SLOT>

Iterator for array of: 0x1400..0x17e8 - Cryptographic keys for MPDU encapsulation and decapsulation

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

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.