d1_pac/usb1/
hci_controller_phy_interface.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct HCI_CONTROLLER_PHY_INTERFACE {
4    hci_interface: HCI_INTERFACE,
5    _reserved1: [u8; 0x04],
6    hci_ctrl3: HCI_CTRL3,
7    _reserved2: [u8; 0x04],
8    phy_control: PHY_CONTROL,
9    _reserved3: [u8; 0x10],
10    phy_status: PHY_STATUS,
11    hci_sie_port_disable_control: HCI_SIE_PORT_DISABLE_CONTROL,
12}
13impl HCI_CONTROLLER_PHY_INTERFACE {
14    #[doc = "0x00 - HCI Interface Register"]
15    #[inline(always)]
16    pub const fn hci_interface(&self) -> &HCI_INTERFACE {
17        &self.hci_interface
18    }
19    #[doc = "0x08 - HCI Control Register"]
20    #[inline(always)]
21    pub const fn hci_ctrl3(&self) -> &HCI_CTRL3 {
22        &self.hci_ctrl3
23    }
24    #[doc = "0x10 - PHY Control Register"]
25    #[inline(always)]
26    pub const fn phy_control(&self) -> &PHY_CONTROL {
27        &self.phy_control
28    }
29    #[doc = "0x24 - PHY Status Register"]
30    #[inline(always)]
31    pub const fn phy_status(&self) -> &PHY_STATUS {
32        &self.phy_status
33    }
34    #[doc = "0x28 - HCI SIE Port Disable Control Register"]
35    #[inline(always)]
36    pub const fn hci_sie_port_disable_control(&self) -> &HCI_SIE_PORT_DISABLE_CONTROL {
37        &self.hci_sie_port_disable_control
38    }
39}
40#[doc = "hci_interface (rw) register accessor: HCI Interface Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`hci_interface::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 [`hci_interface::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@hci_interface`] module"]
41pub type HCI_INTERFACE = crate::Reg<hci_interface::HCI_INTERFACE_SPEC>;
42#[doc = "HCI Interface Register"]
43pub mod hci_interface;
44#[doc = "hci_ctrl3 (rw) register accessor: HCI Control Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`hci_ctrl3::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 [`hci_ctrl3::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@hci_ctrl3`] module"]
45pub type HCI_CTRL3 = crate::Reg<hci_ctrl3::HCI_CTRL3_SPEC>;
46#[doc = "HCI Control Register"]
47pub mod hci_ctrl3;
48#[doc = "phy_control (rw) register accessor: PHY Control Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`phy_control::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 [`phy_control::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@phy_control`] module"]
49pub type PHY_CONTROL = crate::Reg<phy_control::PHY_CONTROL_SPEC>;
50#[doc = "PHY Control Register"]
51pub mod phy_control;
52#[doc = "phy_status (r) register accessor: PHY Status Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`phy_status::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@phy_status`] module"]
53pub type PHY_STATUS = crate::Reg<phy_status::PHY_STATUS_SPEC>;
54#[doc = "PHY Status Register"]
55pub mod phy_status;
56#[doc = "hci_sie_port_disable_control (rw) register accessor: HCI SIE Port Disable Control Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`hci_sie_port_disable_control::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 [`hci_sie_port_disable_control::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@hci_sie_port_disable_control`] module"]
57pub type HCI_SIE_PORT_DISABLE_CONTROL =
58    crate::Reg<hci_sie_port_disable_control::HCI_SIE_PORT_DISABLE_CONTROL_SPEC>;
59#[doc = "HCI SIE Port Disable Control Register"]
60pub mod hci_sie_port_disable_control;