summaryrefslogtreecommitdiff
path: root/src/tsens.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tsens.rs')
-rw-r--r--src/tsens.rs100
1 files changed, 100 insertions, 0 deletions
diff --git a/src/tsens.rs b/src/tsens.rs
new file mode 100644
index 0000000..3156dee
--- /dev/null
+++ b/src/tsens.rs
@@ -0,0 +1,100 @@
+#[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 - Control C Register"]
+ pub ctrlc: crate::Reg<ctrlc::CTRLC_SPEC>,
+ #[doc = "0x03 - Event Control Register"]
+ pub evctrl: crate::Reg<evctrl::EVCTRL_SPEC>,
+ #[doc = "0x04 - Interrupt Enable Clear Register"]
+ pub intenclr: crate::Reg<intenclr::INTENCLR_SPEC>,
+ #[doc = "0x05 - Interrupt Enable Set Register"]
+ pub intenset: crate::Reg<intenset::INTENSET_SPEC>,
+ #[doc = "0x06 - Interrupt Flag Status and Clear Register"]
+ pub intflag: crate::Reg<intflag::INTFLAG_SPEC>,
+ #[doc = "0x07 - Status Register"]
+ pub status: crate::Reg<status::STATUS_SPEC>,
+ #[doc = "0x08 - Synchronization Busy Register"]
+ pub syncbusy: crate::Reg<syncbusy::SYNCBUSY_SPEC>,
+ #[doc = "0x0c - Value Register"]
+ pub value: crate::Reg<value::VALUE_SPEC>,
+ #[doc = "0x10 - Window Monitor Lower Threshold Register"]
+ pub winlt: crate::Reg<winlt::WINLT_SPEC>,
+ #[doc = "0x14 - Window Monitor Upper Threshold Register"]
+ pub winut: crate::Reg<winut::WINUT_SPEC>,
+ #[doc = "0x18 - Gain Register"]
+ pub gain: crate::Reg<gain::GAIN_SPEC>,
+ #[doc = "0x1c - Offset Register"]
+ pub offset: crate::Reg<offset::OFFSET_SPEC>,
+ #[doc = "0x20 - Calibration Register"]
+ pub cal: crate::Reg<cal::CAL_SPEC>,
+ #[doc = "0x24 - Debug Control Register"]
+ pub dbgctrl: crate::Reg<dbgctrl::DBGCTRL_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 = "CTRLC register accessor: an alias for `Reg<CTRLC_SPEC>`"]
+pub type CTRLC = crate::Reg<ctrlc::CTRLC_SPEC>;
+#[doc = "Control C Register"]
+pub mod ctrlc;
+#[doc = "EVCTRL register accessor: an alias for `Reg<EVCTRL_SPEC>`"]
+pub type EVCTRL = crate::Reg<evctrl::EVCTRL_SPEC>;
+#[doc = "Event Control Register"]
+pub mod evctrl;
+#[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 Status and Clear 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 = "Value Register"]
+pub mod value;
+#[doc = "WINLT register accessor: an alias for `Reg<WINLT_SPEC>`"]
+pub type WINLT = crate::Reg<winlt::WINLT_SPEC>;
+#[doc = "Window Monitor Lower Threshold Register"]
+pub mod winlt;
+#[doc = "WINUT register accessor: an alias for `Reg<WINUT_SPEC>`"]
+pub type WINUT = crate::Reg<winut::WINUT_SPEC>;
+#[doc = "Window Monitor Upper Threshold Register"]
+pub mod winut;
+#[doc = "GAIN register accessor: an alias for `Reg<GAIN_SPEC>`"]
+pub type GAIN = crate::Reg<gain::GAIN_SPEC>;
+#[doc = "Gain Register"]
+pub mod gain;
+#[doc = "OFFSET register accessor: an alias for `Reg<OFFSET_SPEC>`"]
+pub type OFFSET = crate::Reg<offset::OFFSET_SPEC>;
+#[doc = "Offset Register"]
+pub mod offset;
+#[doc = "CAL register accessor: an alias for `Reg<CAL_SPEC>`"]
+pub type CAL = crate::Reg<cal::CAL_SPEC>;
+#[doc = "Calibration Register"]
+pub mod cal;
+#[doc = "DBGCTRL register accessor: an alias for `Reg<DBGCTRL_SPEC>`"]
+pub type DBGCTRL = crate::Reg<dbgctrl::DBGCTRL_SPEC>;
+#[doc = "Debug Control Register"]
+pub mod dbgctrl;