Skip to content

Commit

Permalink
Add generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
9names committed Oct 20, 2021
1 parent 6227019 commit 40e4546
Show file tree
Hide file tree
Showing 13 changed files with 65 additions and 10,418 deletions.
84 changes: 15 additions & 69 deletions src/io_bank0.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,12 @@ pub struct RegisterBlock {
pub proc1_intf: [crate::Reg<proc1_intf::PROC1_INTF_SPEC>; 4],
#[doc = "0x150..0x160 - Interrupt status after masking & forcing for proc1"]
pub proc1_ints: [crate::Reg<proc1_ints::PROC1_INTS_SPEC>; 4],
#[doc = "0x160 - Interrupt Enable for dormant_wake"]
pub dormant_wake_inte0: crate::Reg<dormant_wake_inte0::DORMANT_WAKE_INTE0_SPEC>,
#[doc = "0x164 - Interrupt Enable for dormant_wake"]
pub dormant_wake_inte1: crate::Reg<dormant_wake_inte1::DORMANT_WAKE_INTE1_SPEC>,
#[doc = "0x168 - Interrupt Enable for dormant_wake"]
pub dormant_wake_inte2: crate::Reg<dormant_wake_inte2::DORMANT_WAKE_INTE2_SPEC>,
#[doc = "0x16c - Interrupt Enable for dormant_wake"]
pub dormant_wake_inte3: crate::Reg<dormant_wake_inte3::DORMANT_WAKE_INTE3_SPEC>,
#[doc = "0x170 - Interrupt Force for dormant_wake"]
pub dormant_wake_intf0: crate::Reg<dormant_wake_intf0::DORMANT_WAKE_INTF0_SPEC>,
#[doc = "0x174 - Interrupt Force for dormant_wake"]
pub dormant_wake_intf1: crate::Reg<dormant_wake_intf1::DORMANT_WAKE_INTF1_SPEC>,
#[doc = "0x178 - Interrupt Force for dormant_wake"]
pub dormant_wake_intf2: crate::Reg<dormant_wake_intf2::DORMANT_WAKE_INTF2_SPEC>,
#[doc = "0x17c - Interrupt Force for dormant_wake"]
pub dormant_wake_intf3: crate::Reg<dormant_wake_intf3::DORMANT_WAKE_INTF3_SPEC>,
#[doc = "0x180 - Interrupt status after masking & forcing for dormant_wake"]
pub dormant_wake_ints0: crate::Reg<dormant_wake_ints0::DORMANT_WAKE_INTS0_SPEC>,
#[doc = "0x184 - Interrupt status after masking & forcing for dormant_wake"]
pub dormant_wake_ints1: crate::Reg<dormant_wake_ints1::DORMANT_WAKE_INTS1_SPEC>,
#[doc = "0x188 - Interrupt status after masking & forcing for dormant_wake"]
pub dormant_wake_ints2: crate::Reg<dormant_wake_ints2::DORMANT_WAKE_INTS2_SPEC>,
#[doc = "0x18c - Interrupt status after masking & forcing for dormant_wake"]
pub dormant_wake_ints3: crate::Reg<dormant_wake_ints3::DORMANT_WAKE_INTS3_SPEC>,
#[doc = "0x160..0x170 - Interrupt Enable for dormant_wake"]
pub dormant_wake_inte: [crate::Reg<dormant_wake_inte::DORMANT_WAKE_INTE_SPEC>; 4],
#[doc = "0x170..0x180 - Interrupt Force for dormant_wake"]
pub dormant_wake_intf: [crate::Reg<dormant_wake_intf::DORMANT_WAKE_INTF_SPEC>; 4],
#[doc = "0x180..0x190 - Interrupt status after masking & forcing for dormant_wake"]
pub dormant_wake_ints: [crate::Reg<dormant_wake_ints::DORMANT_WAKE_INTS_SPEC>; 4],
}
#[doc = r"Register block"]
#[repr(C)]
Expand Down Expand Up @@ -81,51 +63,15 @@ pub mod proc1_intf;
pub type PROC1_INTS = crate::Reg<proc1_ints::PROC1_INTS_SPEC>;
#[doc = "Interrupt status after masking & forcing for proc1"]
pub mod proc1_ints;
#[doc = "DORMANT_WAKE_INTE0 register accessor: an alias for `Reg<DORMANT_WAKE_INTE0_SPEC>`"]
pub type DORMANT_WAKE_INTE0 = crate::Reg<dormant_wake_inte0::DORMANT_WAKE_INTE0_SPEC>;
#[doc = "DORMANT_WAKE_INTE register accessor: an alias for `Reg<DORMANT_WAKE_INTE_SPEC>`"]
pub type DORMANT_WAKE_INTE = crate::Reg<dormant_wake_inte::DORMANT_WAKE_INTE_SPEC>;
#[doc = "Interrupt Enable for dormant_wake"]
pub mod dormant_wake_inte0;
#[doc = "DORMANT_WAKE_INTE1 register accessor: an alias for `Reg<DORMANT_WAKE_INTE1_SPEC>`"]
pub type DORMANT_WAKE_INTE1 = crate::Reg<dormant_wake_inte1::DORMANT_WAKE_INTE1_SPEC>;
#[doc = "Interrupt Enable for dormant_wake"]
pub mod dormant_wake_inte1;
#[doc = "DORMANT_WAKE_INTE2 register accessor: an alias for `Reg<DORMANT_WAKE_INTE2_SPEC>`"]
pub type DORMANT_WAKE_INTE2 = crate::Reg<dormant_wake_inte2::DORMANT_WAKE_INTE2_SPEC>;
#[doc = "Interrupt Enable for dormant_wake"]
pub mod dormant_wake_inte2;
#[doc = "DORMANT_WAKE_INTE3 register accessor: an alias for `Reg<DORMANT_WAKE_INTE3_SPEC>`"]
pub type DORMANT_WAKE_INTE3 = crate::Reg<dormant_wake_inte3::DORMANT_WAKE_INTE3_SPEC>;
#[doc = "Interrupt Enable for dormant_wake"]
pub mod dormant_wake_inte3;
#[doc = "DORMANT_WAKE_INTF0 register accessor: an alias for `Reg<DORMANT_WAKE_INTF0_SPEC>`"]
pub type DORMANT_WAKE_INTF0 = crate::Reg<dormant_wake_intf0::DORMANT_WAKE_INTF0_SPEC>;
#[doc = "Interrupt Force for dormant_wake"]
pub mod dormant_wake_intf0;
#[doc = "DORMANT_WAKE_INTF1 register accessor: an alias for `Reg<DORMANT_WAKE_INTF1_SPEC>`"]
pub type DORMANT_WAKE_INTF1 = crate::Reg<dormant_wake_intf1::DORMANT_WAKE_INTF1_SPEC>;
#[doc = "Interrupt Force for dormant_wake"]
pub mod dormant_wake_intf1;
#[doc = "DORMANT_WAKE_INTF2 register accessor: an alias for `Reg<DORMANT_WAKE_INTF2_SPEC>`"]
pub type DORMANT_WAKE_INTF2 = crate::Reg<dormant_wake_intf2::DORMANT_WAKE_INTF2_SPEC>;
pub mod dormant_wake_inte;
#[doc = "DORMANT_WAKE_INTF register accessor: an alias for `Reg<DORMANT_WAKE_INTF_SPEC>`"]
pub type DORMANT_WAKE_INTF = crate::Reg<dormant_wake_intf::DORMANT_WAKE_INTF_SPEC>;
#[doc = "Interrupt Force for dormant_wake"]
pub mod dormant_wake_intf2;
#[doc = "DORMANT_WAKE_INTF3 register accessor: an alias for `Reg<DORMANT_WAKE_INTF3_SPEC>`"]
pub type DORMANT_WAKE_INTF3 = crate::Reg<dormant_wake_intf3::DORMANT_WAKE_INTF3_SPEC>;
#[doc = "Interrupt Force for dormant_wake"]
pub mod dormant_wake_intf3;
#[doc = "DORMANT_WAKE_INTS0 register accessor: an alias for `Reg<DORMANT_WAKE_INTS0_SPEC>`"]
pub type DORMANT_WAKE_INTS0 = crate::Reg<dormant_wake_ints0::DORMANT_WAKE_INTS0_SPEC>;
#[doc = "Interrupt status after masking & forcing for dormant_wake"]
pub mod dormant_wake_ints0;
#[doc = "DORMANT_WAKE_INTS1 register accessor: an alias for `Reg<DORMANT_WAKE_INTS1_SPEC>`"]
pub type DORMANT_WAKE_INTS1 = crate::Reg<dormant_wake_ints1::DORMANT_WAKE_INTS1_SPEC>;
#[doc = "Interrupt status after masking & forcing for dormant_wake"]
pub mod dormant_wake_ints1;
#[doc = "DORMANT_WAKE_INTS2 register accessor: an alias for `Reg<DORMANT_WAKE_INTS2_SPEC>`"]
pub type DORMANT_WAKE_INTS2 = crate::Reg<dormant_wake_ints2::DORMANT_WAKE_INTS2_SPEC>;
#[doc = "Interrupt status after masking & forcing for dormant_wake"]
pub mod dormant_wake_ints2;
#[doc = "DORMANT_WAKE_INTS3 register accessor: an alias for `Reg<DORMANT_WAKE_INTS3_SPEC>`"]
pub type DORMANT_WAKE_INTS3 = crate::Reg<dormant_wake_ints3::DORMANT_WAKE_INTS3_SPEC>;
pub mod dormant_wake_intf;
#[doc = "DORMANT_WAKE_INTS register accessor: an alias for `Reg<DORMANT_WAKE_INTS_SPEC>`"]
pub type DORMANT_WAKE_INTS = crate::Reg<dormant_wake_ints::DORMANT_WAKE_INTS_SPEC>;
#[doc = "Interrupt status after masking & forcing for dormant_wake"]
pub mod dormant_wake_ints3;
pub mod dormant_wake_ints;
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
#[doc = "Register `DORMANT_WAKE_INTE0` reader"]
pub struct R(crate::R<DORMANT_WAKE_INTE0_SPEC>);
#[doc = "Register `DORMANT_WAKE_INTE%s` reader"]
pub struct R(crate::R<DORMANT_WAKE_INTE_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<DORMANT_WAKE_INTE0_SPEC>;
type Target = crate::R<DORMANT_WAKE_INTE_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<DORMANT_WAKE_INTE0_SPEC>> for R {
impl From<crate::R<DORMANT_WAKE_INTE_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<DORMANT_WAKE_INTE0_SPEC>) -> Self {
fn from(reader: crate::R<DORMANT_WAKE_INTE_SPEC>) -> Self {
R(reader)
}
}
#[doc = "Register `DORMANT_WAKE_INTE0` writer"]
pub struct W(crate::W<DORMANT_WAKE_INTE0_SPEC>);
#[doc = "Register `DORMANT_WAKE_INTE%s` writer"]
pub struct W(crate::W<DORMANT_WAKE_INTE_SPEC>);
impl core::ops::Deref for W {
type Target = crate::W<DORMANT_WAKE_INTE0_SPEC>;
type Target = crate::W<DORMANT_WAKE_INTE_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
Expand All @@ -28,9 +28,9 @@ impl core::ops::DerefMut for W {
&mut self.0
}
}
impl From<crate::W<DORMANT_WAKE_INTE0_SPEC>> for W {
impl From<crate::W<DORMANT_WAKE_INTE_SPEC>> for W {
#[inline(always)]
fn from(writer: crate::W<DORMANT_WAKE_INTE0_SPEC>) -> Self {
fn from(writer: crate::W<DORMANT_WAKE_INTE_SPEC>) -> Self {
W(writer)
}
}
Expand Down Expand Up @@ -1520,21 +1520,21 @@ impl W {
This register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).
For information about available fields see [dormant_wake_inte0](index.html) module"]
pub struct DORMANT_WAKE_INTE0_SPEC;
impl crate::RegisterSpec for DORMANT_WAKE_INTE0_SPEC {
For information about available fields see [dormant_wake_inte](index.html) module"]
pub struct DORMANT_WAKE_INTE_SPEC;
impl crate::RegisterSpec for DORMANT_WAKE_INTE_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [dormant_wake_inte0::R](R) reader structure"]
impl crate::Readable for DORMANT_WAKE_INTE0_SPEC {
#[doc = "`read()` method returns [dormant_wake_inte::R](R) reader structure"]
impl crate::Readable for DORMANT_WAKE_INTE_SPEC {
type Reader = R;
}
#[doc = "`write(|w| ..)` method takes [dormant_wake_inte0::W](W) writer structure"]
impl crate::Writable for DORMANT_WAKE_INTE0_SPEC {
#[doc = "`write(|w| ..)` method takes [dormant_wake_inte::W](W) writer structure"]
impl crate::Writable for DORMANT_WAKE_INTE_SPEC {
type Writer = W;
}
#[doc = "`reset()` method sets DORMANT_WAKE_INTE0 to value 0"]
impl crate::Resettable for DORMANT_WAKE_INTE0_SPEC {
#[doc = "`reset()` method sets DORMANT_WAKE_INTE%s to value 0"]
impl crate::Resettable for DORMANT_WAKE_INTE_SPEC {
#[inline(always)]
fn reset_value() -> Self::Ux {
0
Expand Down
Loading

0 comments on commit 40e4546

Please sign in to comment.