///Register `DINR19` reader
pub type R = crate::R<DINR19rs>;
///Field `DIN19` reader - Input data received from MDIO Master during write frames
pub type DIN19_R = crate::FieldReader<u16>;
impl R {
///Bits 0:15 - Input data received from MDIO Master during write frames
#[inline(always)]
pub fn din19(&self) -> DIN19_R {
DIN19_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("DINR19").field("din19", &self.din19()).finish()
}
}
/**MDIOS input data register 19
You can [`read`](crate::Reg::read) this register and get [`dinr19::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api).*/
pub struct DINR19rs;
impl crate::RegisterSpec for DINR19rs {
type Ux = u32;
}
///`read()` method returns [`dinr19::R`](R) reader structure
impl crate::Readable for DINR19rs {}
///`reset()` method sets DINR19 to value 0
impl crate::Resettable for DINR19rs {}