///Register `FDCAN_ENDN` reader
pub type R = crate::R<FDCAN_ENDNrs>;
///Field `ETV` reader - Endianness test value
pub type ETV_R = crate::FieldReader<u32>;
impl R {
    ///Bits 0:31 - Endianness test value
    #[inline(always)]
    pub fn etv(&self) -> ETV_R {
        ETV_R::new(self.bits)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("FDCAN_ENDN").field("etv", &self.etv()).finish()
    }
}
/**FDCAN endian register

You can [`read`](crate::Reg::read) this register and get [`fdcan_endn::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api).*/
pub struct FDCAN_ENDNrs;
impl crate::RegisterSpec for FDCAN_ENDNrs {
    type Ux = u32;
}
///`read()` method returns [`fdcan_endn::R`](R) reader structure
impl crate::Readable for FDCAN_ENDNrs {}
///`reset()` method sets FDCAN_ENDN to value 0x8765_4321
impl crate::Resettable for FDCAN_ENDNrs {
    const RESET_VALUE: u32 = 0x8765_4321;
}
