summaryrefslogtreecommitdiff
path: root/src/rstc.rs
diff options
context:
space:
mode:
authorArne Dußin2021-11-06 11:50:33 +0100
committerArne Dußin2021-11-06 11:50:33 +0100
commit0666a6ba1dbd66cf8b93c113e362ccbcd99152a0 (patch)
treea184284dbd2316f4624f092e4e7521ea8c90855b /src/rstc.rs
downloadsamc21-0666a6ba1dbd66cf8b93c113e362ccbcd99152a0.tar.gz
samc21-0666a6ba1dbd66cf8b93c113e362ccbcd99152a0.zip
Initial commit
Diffstat (limited to 'src/rstc.rs')
-rw-r--r--src/rstc.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/rstc.rs b/src/rstc.rs
new file mode 100644
index 0000000..327b511
--- /dev/null
+++ b/src/rstc.rs
@@ -0,0 +1,10 @@
+#[doc = r"Register block"]
+#[repr(C)]
+pub struct RegisterBlock {
+ #[doc = "0x00 - Reset Cause"]
+ pub rcause: crate::Reg<rcause::RCAUSE_SPEC>,
+}
+#[doc = "RCAUSE register accessor: an alias for `Reg<RCAUSE_SPEC>`"]
+pub type RCAUSE = crate::Reg<rcause::RCAUSE_SPEC>;
+#[doc = "Reset Cause"]
+pub mod rcause;