corstone300_pac/syscounter_cntrl/
cntpidr3.rs1#[doc = "Register `CNTPIDR3` reader"]
6pub struct R(crate::R<CNTPIDR3_SPEC>);
7impl core::ops::Deref for R {
8 type Target = crate::R<CNTPIDR3_SPEC>;
9 #[inline(always)]
10 fn deref(&self) -> &Self::Target {
11 &self.0
12 }
13}
14impl From<crate::R<CNTPIDR3_SPEC>> for R {
15 #[inline(always)]
16 fn from(reader: crate::R<CNTPIDR3_SPEC>) -> Self {
17 R(reader)
18 }
19}
20#[doc = "Peripheral Identification Register 3\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [cntpidr3](index.html) module"]
21pub struct CNTPIDR3_SPEC;
22impl crate::RegisterSpec for CNTPIDR3_SPEC {
23 type Ux = u32;
24}
25#[doc = "`read()` method returns [cntpidr3::R](R) reader structure"]
26impl crate::Readable for CNTPIDR3_SPEC {
27 type Reader = R;
28}
29#[doc = "`reset()` method sets CNTPIDR3 to value 0"]
30impl crate::Resettable for CNTPIDR3_SPEC {
31 #[inline(always)]
32 fn reset_value() -> Self::Ux {
33 0
34 }
35}