1#[repr(C)]
2#[doc = "Register block"]
3pub struct RegisterBlock {
4 pllstat: PLLSTAT,
5 pllcon0: PLLCON0,
6 pllcon1: PLLCON1,
7 pllcon2: PLLCON2,
8 usbpllstat: USBPLLSTAT,
9 usbpllcon: USBPLLCON,
10 _reserved6: [u8; 0x10],
11 clkmxstat: CLKMXSTAT,
12}
13impl RegisterBlock {
14 #[doc = "0x00 - PLL Status Register"]
15 #[inline(always)]
16 pub const fn pllstat(&self) -> &PLLSTAT {
17 &self.pllstat
18 }
19 #[doc = "0x04 - PLL Configuration 0 Register"]
20 #[inline(always)]
21 pub const fn pllcon0(&self) -> &PLLCON0 {
22 &self.pllcon0
23 }
24 #[doc = "0x08 - PLL Configuration 1 Register"]
25 #[inline(always)]
26 pub const fn pllcon1(&self) -> &PLLCON1 {
27 &self.pllcon1
28 }
29 #[doc = "0x0c - PLL Configuration 2 Register"]
30 #[inline(always)]
31 pub const fn pllcon2(&self) -> &PLLCON2 {
32 &self.pllcon2
33 }
34 #[doc = "0x10 - USB PLL Status Register"]
35 #[inline(always)]
36 pub const fn usbpllstat(&self) -> &USBPLLSTAT {
37 &self.usbpllstat
38 }
39 #[doc = "0x14 - USB PLL Configuration Register"]
40 #[inline(always)]
41 pub const fn usbpllcon(&self) -> &USBPLLCON {
42 &self.usbpllcon
43 }
44 #[doc = "0x28 - Clock Multiplexing Status Register"]
45 #[inline(always)]
46 pub const fn clkmxstat(&self) -> &CLKMXSTAT {
47 &self.clkmxstat
48 }
49}
50#[doc = "PLLSTAT (r) register accessor: PLL Status Register\n\nYou can [`read`](crate::Reg::read) this register and get [`pllstat::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@pllstat`]
51module"]
52pub type PLLSTAT = crate::Reg<pllstat::PLLSTAT_SPEC>;
53#[doc = "PLL Status Register"]
54pub mod pllstat;
55#[doc = "PLLCON0 (rw) register accessor: PLL Configuration 0 Register\n\nYou can [`read`](crate::Reg::read) this register and get [`pllcon0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pllcon0::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@pllcon0`]
56module"]
57pub type PLLCON0 = crate::Reg<pllcon0::PLLCON0_SPEC>;
58#[doc = "PLL Configuration 0 Register"]
59pub mod pllcon0;
60#[doc = "PLLCON1 (rw) register accessor: PLL Configuration 1 Register\n\nYou can [`read`](crate::Reg::read) this register and get [`pllcon1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pllcon1::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@pllcon1`]
61module"]
62pub type PLLCON1 = crate::Reg<pllcon1::PLLCON1_SPEC>;
63#[doc = "PLL Configuration 1 Register"]
64pub mod pllcon1;
65#[doc = "PLLCON2 (rw) register accessor: PLL Configuration 2 Register\n\nYou can [`read`](crate::Reg::read) this register and get [`pllcon2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pllcon2::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@pllcon2`]
66module"]
67pub type PLLCON2 = crate::Reg<pllcon2::PLLCON2_SPEC>;
68#[doc = "PLL Configuration 2 Register"]
69pub mod pllcon2;
70#[doc = "USBPLLSTAT (r) register accessor: USB PLL Status Register\n\nYou can [`read`](crate::Reg::read) this register and get [`usbpllstat::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@usbpllstat`]
71module"]
72pub type USBPLLSTAT = crate::Reg<usbpllstat::USBPLLSTAT_SPEC>;
73#[doc = "USB PLL Status Register"]
74pub mod usbpllstat;
75#[doc = "USBPLLCON (rw) register accessor: USB PLL Configuration Register\n\nYou can [`read`](crate::Reg::read) this register and get [`usbpllcon::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`usbpllcon::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@usbpllcon`]
76module"]
77pub type USBPLLCON = crate::Reg<usbpllcon::USBPLLCON_SPEC>;
78#[doc = "USB PLL Configuration Register"]
79pub mod usbpllcon;
80#[doc = "CLKMXSTAT (r) register accessor: Clock Multiplexing Status Register\n\nYou can [`read`](crate::Reg::read) this register and get [`clkmxstat::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@clkmxstat`]
81module"]
82pub type CLKMXSTAT = crate::Reg<clkmxstat::CLKMXSTAT_SPEC>;
83#[doc = "Clock Multiplexing Status Register"]
84pub mod clkmxstat;