pub type R = crate::R<WISRrs>;
pub type TEIF_R = crate::BitReader;
pub type ERIF_R = crate::BitReader;
pub type BUSY_R = crate::BitReader;
pub type PLLLS_R = crate::BitReader;
pub type PLLLIF_R = crate::BitReader;
pub type PLLUIF_R = crate::BitReader;
pub type RRS_R = crate::BitReader;
pub type RRIF_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn teif(&self) -> TEIF_R {
TEIF_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn erif(&self) -> ERIF_R {
ERIF_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn busy(&self) -> BUSY_R {
BUSY_R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn pllls(&self) -> PLLLS_R {
PLLLS_R::new(((self.bits >> 8) & 1) != 0)
}
#[inline(always)]
pub fn plllif(&self) -> PLLLIF_R {
PLLLIF_R::new(((self.bits >> 9) & 1) != 0)
}
#[inline(always)]
pub fn plluif(&self) -> PLLUIF_R {
PLLUIF_R::new(((self.bits >> 10) & 1) != 0)
}
#[inline(always)]
pub fn rrs(&self) -> RRS_R {
RRS_R::new(((self.bits >> 12) & 1) != 0)
}
#[inline(always)]
pub fn rrif(&self) -> RRIF_R {
RRIF_R::new(((self.bits >> 13) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("WISR")
.field("teif", &self.teif())
.field("erif", &self.erif())
.field("busy", &self.busy())
.field("pllls", &self.pllls())
.field("plllif", &self.plllif())
.field("plluif", &self.plluif())
.field("rrs", &self.rrs())
.field("rrif", &self.rrif())
.finish()
}
}
pub struct WISRrs;
impl crate::RegisterSpec for WISRrs {
type Ux = u32;
}
impl crate::Readable for WISRrs {}
impl crate::Resettable for WISRrs {}