esp32s3/systimer/
trgt.rs

1#[repr(C)]
2#[cfg_attr(feature = "impl-register-debug", derive(Debug))]
3#[doc = "Cluster TRGT%s, containing TARGET?_HI, TARGET?_LO"]
4pub struct TRGT {
5    hi: HI,
6    lo: LO,
7}
8impl TRGT {
9    #[doc = "0x00 - system timer comp0 value high register"]
10    #[inline(always)]
11    pub const fn hi(&self) -> &HI {
12        &self.hi
13    }
14    #[doc = "0x04 - system timer comp0 value low register"]
15    #[inline(always)]
16    pub const fn lo(&self) -> &LO {
17        &self.lo
18    }
19}
20#[doc = "HI (rw) register accessor: system timer comp0 value high register\n\nYou can [`read`](crate::Reg::read) this register and get [`hi::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`hi::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@hi`] module"]
21pub type HI = crate::Reg<hi::HI_SPEC>;
22#[doc = "system timer comp0 value high register"]
23pub mod hi;
24#[doc = "LO (rw) register accessor: system timer comp0 value low register\n\nYou can [`read`](crate::Reg::read) this register and get [`lo::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`lo::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@lo`] module"]
25pub type LO = crate::Reg<lo::LO_SPEC>;
26#[doc = "system timer comp0 value low register"]
27pub mod lo;