pub type R = crate::R<STATUSrs>;
pub type AcmpactR = crate::BitReader;
pub type AcmpoutR = crate::BitReader;
pub type AportconflictR = crate::BitReader;
impl R {
#[inline(always)]
pub fn acmpact(&self) -> AcmpactR {
AcmpactR::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn acmpout(&self) -> AcmpoutR {
AcmpoutR::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn aportconflict(&self) -> AportconflictR {
AportconflictR::new(((self.bits >> 2) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("STATUS")
.field("acmpact", &self.acmpact())
.field("acmpout", &self.acmpout())
.field("aportconflict", &self.aportconflict())
.finish()
}
}
pub struct STATUSrs;
impl crate::RegisterSpec for STATUSrs {
type Ux = u32;
}
impl crate::Readable for STATUSrs {}
impl crate::Resettable for STATUSrs {}