#[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn filter_bank(&self, n: usize) -> &FILTER_BANK
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.
Sourcepub fn filter_bank_iter(&self) -> impl Iterator<Item = &FILTER_BANK>
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.
Sourcepub const fn rx_dma_list(&self) -> &RX_DMA_LIST
pub const fn rx_dma_list(&self) -> &RX_DMA_LIST
0x88..0x94 - RX_DMA_LIST
Sourcepub const fn interface_rx_control(&self, n: usize) -> &INTERFACE_RX_CONTROL
pub const fn interface_rx_control(&self, n: usize) -> &INTERFACE_RX_CONTROL
0xd8..0xe8 - Controls RX for an interface
Sourcepub fn interface_rx_control_iter(
&self,
) -> impl Iterator<Item = &INTERFACE_RX_CONTROL>
pub fn interface_rx_control_iter( &self, ) -> impl Iterator<Item = &INTERFACE_RX_CONTROL>
Iterator for array of: 0xd8..0xe8 - Controls RX for an interface
Sourcepub const fn hw_stat_ack_int(&self) -> &HW_STAT_ACK_INT
pub const fn hw_stat_ack_int(&self) -> &HW_STAT_ACK_INT
0x2bc -
Sourcepub const fn hw_stat_rts_int(&self) -> &HW_STAT_RTS_INT
pub const fn hw_stat_rts_int(&self) -> &HW_STAT_RTS_INT
0x2c0 -
Sourcepub const fn hw_stat_cts_int(&self) -> &HW_STAT_CTS_INT
pub const fn hw_stat_cts_int(&self) -> &HW_STAT_CTS_INT
0x2c4 -
Sourcepub const fn hw_stat_rifs_int(&self) -> &HW_STAT_RIFS_INT
pub const fn hw_stat_rifs_int(&self) -> &HW_STAT_RIFS_INT
0x2c8 -
Sourcepub const fn hw_stat_rx_success(&self) -> &HW_STAT_RX_SUCCESS
pub const fn hw_stat_rx_success(&self) -> &HW_STAT_RX_SUCCESS
0x2cc -
Sourcepub const fn hw_stat_rx_end(&self) -> &HW_STAT_RX_END
pub const fn hw_stat_rx_end(&self) -> &HW_STAT_RX_END
0x2d0 -
Sourcepub const fn hw_stat_hop_err(&self) -> &HW_STAT_HOP_ERR
pub const fn hw_stat_hop_err(&self) -> &HW_STAT_HOP_ERR
0x2d8 -
Sourcepub const fn hw_stat_full2(&self) -> &HW_STAT_FULL2
pub const fn hw_stat_full2(&self) -> &HW_STAT_FULL2
0x2dc -
Sourcepub const fn hw_stat_block_err(&self) -> &HW_STAT_BLOCK_ERR
pub const fn hw_stat_block_err(&self) -> &HW_STAT_BLOCK_ERR
0x2e0 -
Sourcepub const fn crypto_control(&self) -> &CRYPTO_CONTROL
pub const fn crypto_control(&self) -> &CRYPTO_CONTROL
0x800..0x818 - Control registers for hardware crypto
Sourcepub const fn mac_interrupt(&self) -> &MAC_INTERRUPT
pub const fn mac_interrupt(&self) -> &MAC_INTERRUPT
0xc48..0xc50 - Status and clear for the Wi-Fi MAC interrupt
Sourcepub const fn ctrl(&self) -> &CTRL
pub const fn ctrl(&self) -> &CTRL
0xcb8 - Exact name and meaning unknown, used for initializing the MAC
Sourcepub const fn tx_slot_config(&self, n: usize) -> &TX_SLOT_CONFIG
pub const fn tx_slot_config(&self, n: usize) -> &TX_SLOT_CONFIG
0xcfc..0xd24 - Used to configure the TX slot.
Sourcepub fn tx_slot_config_iter(&self) -> impl Iterator<Item = &TX_SLOT_CONFIG>
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.
Sourcepub const fn hw_stat_tx_rts(&self) -> &HW_STAT_TX_RTS
pub const fn hw_stat_tx_rts(&self) -> &HW_STAT_TX_RTS
0xd58 -
Sourcepub const fn hw_stat_tx_cts(&self) -> &HW_STAT_TX_CTS
pub const fn hw_stat_tx_cts(&self) -> &HW_STAT_TX_CTS
0xd5c -
Sourcepub const fn hw_stat_tx_ack(&self) -> &HW_STAT_TX_ACK
pub const fn hw_stat_tx_ack(&self) -> &HW_STAT_TX_ACK
0xd60 -
Sourcepub const fn hw_stat_trcts(&self) -> &HW_STAT_TRCTS
pub const fn hw_stat_trcts(&self) -> &HW_STAT_TRCTS
0xd64 -
Sourcepub const fn hw_stat_trigger(&self) -> &HW_STAT_TRIGGER
pub const fn hw_stat_trigger(&self) -> &HW_STAT_TRIGGER
0xd68 -
Sourcepub const fn hw_stat_tx_hung(&self) -> &HW_STAT_TX_HUNG
pub const fn hw_stat_tx_hung(&self) -> &HW_STAT_TX_HUNG
0xd6c -
Sourcepub const fn hw_stat_panic(&self) -> &HW_STAT_PANIC
pub const fn hw_stat_panic(&self) -> &HW_STAT_PANIC
0xd70 -
Sourcepub fn plcp1_iter(&self) -> impl Iterator<Item = &PLCP1>
pub fn plcp1_iter(&self) -> impl Iterator<Item = &PLCP1>
Iterator for array of: 0x1168..0x117c - PLCP1
Sourcepub fn plcp2_iter(&self) -> impl Iterator<Item = &PLCP2>
pub fn plcp2_iter(&self) -> impl Iterator<Item = &PLCP2>
Iterator for array of: 0x116c..0x1180 - PLCP2
Sourcepub fn ht_sig_iter(&self) -> impl Iterator<Item = &HT_SIG>
pub fn ht_sig_iter(&self) -> impl Iterator<Item = &HT_SIG>
Iterator for array of: 0x1170..0x1184 - HT-SIG field in HT preamble
Sourcepub const fn ht_unknown(&self, n: usize) -> &HT_UNKNOWN
pub const fn ht_unknown(&self, n: usize) -> &HT_UNKNOWN
0x1174..0x1188 - exact meaning and name unknown, related to HT
Sourcepub fn ht_unknown_iter(&self) -> impl Iterator<Item = &HT_UNKNOWN>
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
Sourcepub const fn duration(&self, n: usize) -> &DURATION
pub const fn duration(&self, n: usize) -> &DURATION
0x1178..0x118c - duration of the frame exchange
Sourcepub fn duration_iter(&self) -> impl Iterator<Item = &DURATION>
pub fn duration_iter(&self) -> impl Iterator<Item = &DURATION>
Iterator for array of: 0x1178..0x118c - duration of the frame exchange
Sourcepub const fn crypto_key_slot(&self, n: usize) -> &CRYPTO_KEY_SLOT
pub const fn crypto_key_slot(&self, n: usize) -> &CRYPTO_KEY_SLOT
0x1400..0x17e8 - Cryptographic keys for MPDU encapsulation and decapsulation
Sourcepub fn crypto_key_slot_iter(&self) -> impl Iterator<Item = &CRYPTO_KEY_SLOT>
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