pub type R = crate::R<DTFAULTrs>;
pub type Dtprs0fR = crate::BitReader;
pub type Dtprs1fR = crate::BitReader;
pub type DtdbgfR = crate::BitReader;
pub type DtlockupfR = crate::BitReader;
impl R {
#[inline(always)]
pub fn dtprs0f(&self) -> Dtprs0fR {
Dtprs0fR::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn dtprs1f(&self) -> Dtprs1fR {
Dtprs1fR::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn dtdbgf(&self) -> DtdbgfR {
DtdbgfR::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn dtlockupf(&self) -> DtlockupfR {
DtlockupfR::new(((self.bits >> 3) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("DTFAULT")
.field("dtprs0f", &self.dtprs0f())
.field("dtprs1f", &self.dtprs1f())
.field("dtdbgf", &self.dtdbgf())
.field("dtlockupf", &self.dtlockupf())
.finish()
}
}
pub struct DTFAULTrs;
impl crate::RegisterSpec for DTFAULTrs {
type Ux = u32;
}
impl crate::Readable for DTFAULTrs {}
impl crate::Resettable for DTFAULTrs {}