esp32/wifi/
mac_interrupt.rs

1#[repr(C)]
2#[cfg_attr(feature = "impl-register-debug", derive(Debug))]
3#[doc = "Status and clear for the Wi-Fi MAC interrupt"]
4pub struct MAC_INTERRUPT {
5    wifi_int_status: WIFI_INT_STATUS,
6    wifi_int_clear: WIFI_INT_CLEAR,
7}
8impl MAC_INTERRUPT {
9    #[doc = "0x00 - Interrupt status of WIFI peripheral"]
10    #[inline(always)]
11    pub const fn wifi_int_status(&self) -> &WIFI_INT_STATUS {
12        &self.wifi_int_status
13    }
14    #[doc = "0x04 - Interrupt status clear of WIFI peripheral"]
15    #[inline(always)]
16    pub const fn wifi_int_clear(&self) -> &WIFI_INT_CLEAR {
17        &self.wifi_int_clear
18    }
19}
20#[doc = "WIFI_INT_STATUS (rw) register accessor: Interrupt status of WIFI peripheral\n\nYou can [`read`](crate::Reg::read) this register and get [`wifi_int_status::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`wifi_int_status::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@wifi_int_status`] module"]
21pub type WIFI_INT_STATUS = crate::Reg<wifi_int_status::WIFI_INT_STATUS_SPEC>;
22#[doc = "Interrupt status of WIFI peripheral"]
23pub mod wifi_int_status;
24#[doc = "WIFI_INT_CLEAR (rw) register accessor: Interrupt status clear of WIFI peripheral\n\nYou can [`read`](crate::Reg::read) this register and get [`wifi_int_clear::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`wifi_int_clear::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@wifi_int_clear`] module"]
25pub type WIFI_INT_CLEAR = crate::Reg<wifi_int_clear::WIFI_INT_CLEAR_SPEC>;
26#[doc = "Interrupt status clear of WIFI peripheral"]
27pub mod wifi_int_clear;