pub type R = crate::R<SCANFIFOCOUNTrs>;
pub type ScandcR = crate::FieldReader;
impl R {
#[inline(always)]
pub fn scandc(&self) -> ScandcR {
ScandcR::new((self.bits & 7) as u8)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("SCANFIFOCOUNT")
.field("scandc", &self.scandc())
.finish()
}
}
pub struct SCANFIFOCOUNTrs;
impl crate::RegisterSpec for SCANFIFOCOUNTrs {
type Ux = u32;
}
impl crate::Readable for SCANFIFOCOUNTrs {}
impl crate::Resettable for SCANFIFOCOUNTrs {}