rp2040_pac/io_qspi/
gpio_qspi.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct GPIO_QSPI {
4    gpio_status: GPIO_STATUS,
5    gpio_ctrl: GPIO_CTRL,
6}
7impl GPIO_QSPI {
8    #[doc = "0x00 - GPIO status"]
9    #[inline(always)]
10    pub const fn gpio_status(&self) -> &GPIO_STATUS {
11        &self.gpio_status
12    }
13    #[doc = "0x04 - GPIO control including function select and overrides."]
14    #[inline(always)]
15    pub const fn gpio_ctrl(&self) -> &GPIO_CTRL {
16        &self.gpio_ctrl
17    }
18}
19#[doc = "GPIO_STATUS (r) register accessor: GPIO status  
20
21You can [`read`](crate::generic::Reg::read) this register and get [`gpio_status::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).  
22
23For information about available fields see [`mod@gpio_status`]
24module"]
25pub type GPIO_STATUS = crate::Reg<gpio_status::GPIO_STATUS_SPEC>;
26#[doc = "GPIO status"]
27pub mod gpio_status;
28#[doc = "GPIO_CTRL (rw) register accessor: GPIO control including function select and overrides.  
29
30You can [`read`](crate::generic::Reg::read) this register and get [`gpio_ctrl::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`gpio_ctrl::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).  
31
32For information about available fields see [`mod@gpio_ctrl`]
33module"]
34pub type GPIO_CTRL = crate::Reg<gpio_ctrl::GPIO_CTRL_SPEC>;
35#[doc = "GPIO control including function select and overrides."]
36pub mod gpio_ctrl;