corstone300_pac/watchdog/
ref_w_iidr.rs

1// Copyright 2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
2//
3// SPDX-License-Identifier: MIT
4
5#[doc = "Register `REF_W_IIDR` reader"]
6pub struct R(crate::R<REF_W_IIDR_SPEC>);
7impl core::ops::Deref for R {
8    type Target = crate::R<REF_W_IIDR_SPEC>;
9    #[inline(always)]
10    fn deref(&self) -> &Self::Target {
11        &self.0
12    }
13}
14impl From<crate::R<REF_W_IIDR_SPEC>> for R {
15    #[inline(always)]
16    fn from(reader: crate::R<REF_W_IIDR_SPEC>) -> Self {
17        R(reader)
18    }
19}
20#[doc = "Refresh Frame Watchdog Interface Identification Register.\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 [ref_w_iidr](index.html) module"]
21pub struct REF_W_IIDR_SPEC;
22impl crate::RegisterSpec for REF_W_IIDR_SPEC {
23    type Ux = u32;
24}
25#[doc = "`read()` method returns [ref_w_iidr::R](R) reader structure"]
26impl crate::Readable for REF_W_IIDR_SPEC {
27    type Reader = R;
28}
29#[doc = "`reset()` method sets REF_W_IIDR to value 0x143b"]
30impl crate::Resettable for REF_W_IIDR_SPEC {
31    #[inline(always)]
32    fn reset_value() -> Self::Ux {
33        0x143b
34    }
35}