pub type R = crate::R<IAESRrs>;
pub type IAPRIV_R = crate::BitReader;
pub type IANRW_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn iapriv(&self) -> IAPRIV_R {
IAPRIV_R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn ianrw(&self) -> IANRW_R {
IANRW_R::new(((self.bits >> 7) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("IAESR")
.field("iapriv", &self.iapriv())
.field("ianrw", &self.ianrw())
.finish()
}
}
pub struct IAESRrs;
impl crate::RegisterSpec for IAESRrs {
type Ux = u32;
}
impl crate::Readable for IAESRrs {}
impl crate::Resettable for IAESRrs {}