pub type R = crate::R<SCANMASKrs>;
pub type W = crate::W<SCANMASKrs>;
pub type ScaninputenR = crate::FieldReader<u32>;
pub type ScaninputenW<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
#[inline(always)]
pub fn scaninputen(&self) -> ScaninputenR {
ScaninputenR::new(self.bits)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("SCANMASK")
.field("scaninputen", &self.scaninputen())
.finish()
}
}
impl W {
#[inline(always)]
pub fn scaninputen(&mut self) -> ScaninputenW<'_, SCANMASKrs> {
ScaninputenW::new(self, 0)
}
}
pub struct SCANMASKrs;
impl crate::RegisterSpec for SCANMASKrs {
type Ux = u32;
}
impl crate::Readable for SCANMASKrs {}
impl crate::Writable for SCANMASKrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for SCANMASKrs {}