pub type R = crate::R<ISRrs>;
pub type EOPF_R = crate::BitReader;
pub type WRPERRF_R = crate::BitReader;
pub type PGSERRF_R = crate::BitReader;
pub type STRBERRF_R = crate::BitReader;
pub type OBLERRF_R = crate::BitReader;
pub type INCERRF_R = crate::BitReader;
pub type RDSERRF_R = crate::BitReader;
pub type SNECCERRF_R = crate::BitReader;
pub type DBECCERRF_R = crate::BitReader;
pub type CRCENDF_R = crate::BitReader;
pub type CRCRDERRF_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn eopf(&self) -> EOPF_R {
EOPF_R::new(((self.bits >> 16) & 1) != 0)
}
#[inline(always)]
pub fn wrperrf(&self) -> WRPERRF_R {
WRPERRF_R::new(((self.bits >> 17) & 1) != 0)
}
#[inline(always)]
pub fn pgserrf(&self) -> PGSERRF_R {
PGSERRF_R::new(((self.bits >> 18) & 1) != 0)
}
#[inline(always)]
pub fn strberrf(&self) -> STRBERRF_R {
STRBERRF_R::new(((self.bits >> 19) & 1) != 0)
}
#[inline(always)]
pub fn oblerrf(&self) -> OBLERRF_R {
OBLERRF_R::new(((self.bits >> 20) & 1) != 0)
}
#[inline(always)]
pub fn incerrf(&self) -> INCERRF_R {
INCERRF_R::new(((self.bits >> 21) & 1) != 0)
}
#[inline(always)]
pub fn rdserrf(&self) -> RDSERRF_R {
RDSERRF_R::new(((self.bits >> 24) & 1) != 0)
}
#[inline(always)]
pub fn sneccerrf(&self) -> SNECCERRF_R {
SNECCERRF_R::new(((self.bits >> 25) & 1) != 0)
}
#[inline(always)]
pub fn dbeccerrf(&self) -> DBECCERRF_R {
DBECCERRF_R::new(((self.bits >> 26) & 1) != 0)
}
#[inline(always)]
pub fn crcendf(&self) -> CRCENDF_R {
CRCENDF_R::new(((self.bits >> 27) & 1) != 0)
}
#[inline(always)]
pub fn crcrderrf(&self) -> CRCRDERRF_R {
CRCRDERRF_R::new(((self.bits >> 28) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("ISR")
.field("eopf", &self.eopf())
.field("wrperrf", &self.wrperrf())
.field("pgserrf", &self.pgserrf())
.field("strberrf", &self.strberrf())
.field("oblerrf", &self.oblerrf())
.field("incerrf", &self.incerrf())
.field("rdserrf", &self.rdserrf())
.field("sneccerrf", &self.sneccerrf())
.field("dbeccerrf", &self.dbeccerrf())
.field("crcendf", &self.crcendf())
.field("crcrderrf", &self.crcrderrf())
.finish()
}
}
pub struct ISRrs;
impl crate::RegisterSpec for ISRrs {
type Ux = u32;
}
impl crate::Readable for ISRrs {}
impl crate::Resettable for ISRrs {}