///Register `DINR15` reader
pub type R = crate::R<DINR15rs>;
///Field `DIN15` reader - Input data received from MDIO Master during write frames
pub type DIN15_R = crate::FieldReader<u16>;
impl R {
///Bits 0:15 - Input data received from MDIO Master during write frames
#[inline(always)]
pub fn din15(&self) -> DIN15_R {
DIN15_R::new((self.bits & 0xffff) as u16)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("DINR15").field("din15", &self.din15()).finish()
}
}
/**MDIOS input data register 15
You can [`read`](crate::Reg::read) this register and get [`dinr15::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api).*/
pub struct DINR15rs;
impl crate::RegisterSpec for DINR15rs {
type Ux = u32;
}
///`read()` method returns [`dinr15::R`](R) reader structure
impl crate::Readable for DINR15rs {}
///`reset()` method sets DINR15 to value 0
impl crate::Resettable for DINR15rs {}