pub type R = crate::R<REQDISrs>;
pub type W = crate::W<REQDISrs>;
pub type ReqdisR = crate::FieldReader;
pub type ReqdisW<'a, REG> = crate::FieldWriter<'a, REG, 8>;
impl R {
#[inline(always)]
pub fn reqdis(&self) -> ReqdisR {
ReqdisR::new((self.bits & 0xff) as u8)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("REQDIS")
.field("reqdis", &self.reqdis())
.finish()
}
}
impl W {
#[inline(always)]
pub fn reqdis(&mut self) -> ReqdisW<'_, REQDISrs> {
ReqdisW::new(self, 0)
}
}
pub struct REQDISrs;
impl crate::RegisterSpec for REQDISrs {
type Ux = u32;
}
impl crate::Readable for REQDISrs {}
impl crate::Writable for REQDISrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for REQDISrs {}