1#[doc = r"Register block"]
2#[repr(C)]
3pub struct GPIO {
4 gpio_status: GPIO_STATUS,
5 gpio_ctrl: GPIO_CTRL,
6}
7impl GPIO {
8#[doc = "0x00 - GPIO status"]
9 #[inline(always)]
10pub 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)]
15pub const fn gpio_ctrl(&self) -> &GPIO_CTRL {
16&self.gpio_ctrl
17 }
18}
19#[doc = "GPIO_STATUS (r) register accessor: GPIO status
2021You can [`read`](crate::generic::Reg::read) this register and get [`gpio_status::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
2223For 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.
2930You 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).
3132For 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;