#[doc = "Register `ENDN` reader"]
pub struct R(crate::R<ENDN_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<ENDN_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<ENDN_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<ENDN_SPEC>) -> Self {
R(reader)
}
}
#[doc = "Field `ETV` reader - Endianness Test Value The endianness test value is 0x87654321."]
pub type ETV_R = crate::FieldReader<u32, u32>;
impl R {
#[doc = "Bits 0:31 - Endianness Test Value The endianness test value is 0x87654321."]
#[inline(always)]
pub fn etv(&self) -> ETV_R {
ETV_R::new(self.bits)
}
}
#[doc = "Endian 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 [endn](index.html) module"]
pub struct ENDN_SPEC;
impl crate::RegisterSpec for ENDN_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [endn::R](R) reader structure"]
impl crate::Readable for ENDN_SPEC {
type Reader = R;
}
#[doc = "`reset()` method sets ENDN to value 0x8765_4321"]
impl crate::Resettable for ENDN_SPEC {
const RESET_VALUE: Self::Ux = 0x8765_4321;
}