summaryrefslogtreecommitdiff
path: root/src/freqm.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/freqm.rs')
-rw-r--r--src/freqm.rs59
1 files changed, 59 insertions, 0 deletions
diff --git a/src/freqm.rs b/src/freqm.rs
new file mode 100644
index 0000000..f0fc6fd
--- /dev/null
+++ b/src/freqm.rs
@@ -0,0 +1,59 @@
+#[doc = r"Register block"]
+#[repr(C)]
+pub struct RegisterBlock {
+ #[doc = "0x00 - Control A Register"]
+ pub ctrla: crate::Reg<ctrla::CTRLA_SPEC>,
+ #[doc = "0x01 - Control B Register"]
+ pub ctrlb: crate::Reg<ctrlb::CTRLB_SPEC>,
+ #[doc = "0x02 - Config A register"]
+ pub cfga: crate::Reg<cfga::CFGA_SPEC>,
+ _reserved3: [u8; 0x04],
+ #[doc = "0x08 - Interrupt Enable Clear Register"]
+ pub intenclr: crate::Reg<intenclr::INTENCLR_SPEC>,
+ #[doc = "0x09 - Interrupt Enable Set Register"]
+ pub intenset: crate::Reg<intenset::INTENSET_SPEC>,
+ #[doc = "0x0a - Interrupt Flag Register"]
+ pub intflag: crate::Reg<intflag::INTFLAG_SPEC>,
+ #[doc = "0x0b - Status Register"]
+ pub status: crate::Reg<status::STATUS_SPEC>,
+ #[doc = "0x0c - Synchronization Busy Register"]
+ pub syncbusy: crate::Reg<syncbusy::SYNCBUSY_SPEC>,
+ #[doc = "0x10 - Count Value Register"]
+ pub value: crate::Reg<value::VALUE_SPEC>,
+}
+#[doc = "CTRLA register accessor: an alias for `Reg<CTRLA_SPEC>`"]
+pub type CTRLA = crate::Reg<ctrla::CTRLA_SPEC>;
+#[doc = "Control A Register"]
+pub mod ctrla;
+#[doc = "CTRLB register accessor: an alias for `Reg<CTRLB_SPEC>`"]
+pub type CTRLB = crate::Reg<ctrlb::CTRLB_SPEC>;
+#[doc = "Control B Register"]
+pub mod ctrlb;
+#[doc = "CFGA register accessor: an alias for `Reg<CFGA_SPEC>`"]
+pub type CFGA = crate::Reg<cfga::CFGA_SPEC>;
+#[doc = "Config A register"]
+pub mod cfga;
+#[doc = "INTENCLR register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
+pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
+#[doc = "Interrupt Enable Clear Register"]
+pub mod intenclr;
+#[doc = "INTENSET register accessor: an alias for `Reg<INTENSET_SPEC>`"]
+pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
+#[doc = "Interrupt Enable Set Register"]
+pub mod intenset;
+#[doc = "INTFLAG register accessor: an alias for `Reg<INTFLAG_SPEC>`"]
+pub type INTFLAG = crate::Reg<intflag::INTFLAG_SPEC>;
+#[doc = "Interrupt Flag Register"]
+pub mod intflag;
+#[doc = "STATUS register accessor: an alias for `Reg<STATUS_SPEC>`"]
+pub type STATUS = crate::Reg<status::STATUS_SPEC>;
+#[doc = "Status Register"]
+pub mod status;
+#[doc = "SYNCBUSY register accessor: an alias for `Reg<SYNCBUSY_SPEC>`"]
+pub type SYNCBUSY = crate::Reg<syncbusy::SYNCBUSY_SPEC>;
+#[doc = "Synchronization Busy Register"]
+pub mod syncbusy;
+#[doc = "VALUE register accessor: an alias for `Reg<VALUE_SPEC>`"]
+pub type VALUE = crate::Reg<value::VALUE_SPEC>;
+#[doc = "Count Value Register"]
+pub mod value;