mimxrt685s_pac/
ostimer0.rs1#[repr(C)]
2#[cfg_attr(feature = "debug", derive(Debug))]
3#[doc = "Register block"]
4pub struct RegisterBlock {
5 evtimerl: Evtimerl,
6 evtimerh: Evtimerh,
7 capture_l: CaptureL,
8 capture_h: CaptureH,
9 match_l: MatchL,
10 match_h: MatchH,
11 _reserved6: [u8; 0x04],
12 osevent_ctrl: OseventCtrl,
13}
14impl RegisterBlock {
15 #[doc = "0x00 - EVTIMER Low Register"]
16 #[inline(always)]
17 pub const fn evtimerl(&self) -> &Evtimerl {
18 &self.evtimerl
19 }
20 #[doc = "0x04 - EVTIMER High Register"]
21 #[inline(always)]
22 pub const fn evtimerh(&self) -> &Evtimerh {
23 &self.evtimerh
24 }
25 #[doc = "0x08 - Local Capture Low Register"]
26 #[inline(always)]
27 pub const fn capture_l(&self) -> &CaptureL {
28 &self.capture_l
29 }
30 #[doc = "0x0c - Local Capture High Register"]
31 #[inline(always)]
32 pub const fn capture_h(&self) -> &CaptureH {
33 &self.capture_h
34 }
35 #[doc = "0x10 - Local Match Low Register"]
36 #[inline(always)]
37 pub const fn match_l(&self) -> &MatchL {
38 &self.match_l
39 }
40 #[doc = "0x14 - Match High Register"]
41 #[inline(always)]
42 pub const fn match_h(&self) -> &MatchH {
43 &self.match_h
44 }
45 #[doc = "0x1c - OS_EVENT TIMER Control Register"]
46 #[inline(always)]
47 pub const fn osevent_ctrl(&self) -> &OseventCtrl {
48 &self.osevent_ctrl
49 }
50}
51#[doc = "EVTIMERL (r) register accessor: EVTIMER Low Register\n\nYou can [`read`](crate::Reg::read) this register and get [`evtimerl::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@evtimerl`]
52module"]
53#[doc(alias = "EVTIMERL")]
54pub type Evtimerl = crate::Reg<evtimerl::EvtimerlSpec>;
55#[doc = "EVTIMER Low Register"]
56pub mod evtimerl;
57#[doc = "EVTIMERH (r) register accessor: EVTIMER High Register\n\nYou can [`read`](crate::Reg::read) this register and get [`evtimerh::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@evtimerh`]
58module"]
59#[doc(alias = "EVTIMERH")]
60pub type Evtimerh = crate::Reg<evtimerh::EvtimerhSpec>;
61#[doc = "EVTIMER High Register"]
62pub mod evtimerh;
63#[doc = "CAPTURE_L (r) register accessor: Local Capture Low Register\n\nYou can [`read`](crate::Reg::read) this register and get [`capture_l::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@capture_l`]
64module"]
65#[doc(alias = "CAPTURE_L")]
66pub type CaptureL = crate::Reg<capture_l::CaptureLSpec>;
67#[doc = "Local Capture Low Register"]
68pub mod capture_l;
69#[doc = "CAPTURE_H (r) register accessor: Local Capture High Register\n\nYou can [`read`](crate::Reg::read) this register and get [`capture_h::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@capture_h`]
70module"]
71#[doc(alias = "CAPTURE_H")]
72pub type CaptureH = crate::Reg<capture_h::CaptureHSpec>;
73#[doc = "Local Capture High Register"]
74pub mod capture_h;
75#[doc = "MATCH_L (rw) register accessor: Local Match Low Register\n\nYou can [`read`](crate::Reg::read) this register and get [`match_l::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`match_l::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@match_l`]
76module"]
77#[doc(alias = "MATCH_L")]
78pub type MatchL = crate::Reg<match_l::MatchLSpec>;
79#[doc = "Local Match Low Register"]
80pub mod match_l;
81#[doc = "MATCH_H (rw) register accessor: Match High Register\n\nYou can [`read`](crate::Reg::read) this register and get [`match_h::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`match_h::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@match_h`]
82module"]
83#[doc(alias = "MATCH_H")]
84pub type MatchH = crate::Reg<match_h::MatchHSpec>;
85#[doc = "Match High Register"]
86pub mod match_h;
87#[doc = "OSEVENT_CTRL (rw) register accessor: OS_EVENT TIMER Control Register\n\nYou can [`read`](crate::Reg::read) this register and get [`osevent_ctrl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`osevent_ctrl::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@osevent_ctrl`]
88module"]
89#[doc(alias = "OSEVENT_CTRL")]
90pub type OseventCtrl = crate::Reg<osevent_ctrl::OseventCtrlSpec>;
91#[doc = "OS_EVENT TIMER Control Register"]
92pub mod osevent_ctrl;