pub type R = crate::R<SRrs>;
pub type W = crate::W<SRrs>;
pub type TAMP1F_R = crate::BitReader;
pub type TAMP2F_R = crate::BitReader;
pub type ITAMP1F_R = crate::BitReader;
pub type ITAMP2F_R = crate::BitReader;
pub type ITAMP3F_R = crate::BitReader;
pub type ITAMP4F_R = crate::BitReader;
pub type ITAMP5F_R = crate::BitReader;
pub type ITAMP6F_R = crate::BitReader;
pub type ITAMP7F_R = crate::BitReader;
pub type ITAMP8F_R = crate::BitReader;
pub type ITAMP9F_R = crate::BitReader;
pub type ITAMP11F_R = crate::BitReader;
pub type ITAMP12F_R = crate::BitReader;
pub type ITAMP13F_R = crate::BitReader;
pub type ITAMP15F_R = crate::BitReader;
pub type ITAMP15F_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn tamp1f(&self) -> TAMP1F_R {
TAMP1F_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn tamp2f(&self) -> TAMP2F_R {
TAMP2F_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn itamp1f(&self) -> ITAMP1F_R {
ITAMP1F_R::new(((self.bits >> 16) & 1) != 0)
}
#[inline(always)]
pub fn itamp2f(&self) -> ITAMP2F_R {
ITAMP2F_R::new(((self.bits >> 17) & 1) != 0)
}
#[inline(always)]
pub fn itamp3f(&self) -> ITAMP3F_R {
ITAMP3F_R::new(((self.bits >> 18) & 1) != 0)
}
#[inline(always)]
pub fn itamp4f(&self) -> ITAMP4F_R {
ITAMP4F_R::new(((self.bits >> 19) & 1) != 0)
}
#[inline(always)]
pub fn itamp5f(&self) -> ITAMP5F_R {
ITAMP5F_R::new(((self.bits >> 20) & 1) != 0)
}
#[inline(always)]
pub fn itamp6f(&self) -> ITAMP6F_R {
ITAMP6F_R::new(((self.bits >> 21) & 1) != 0)
}
#[inline(always)]
pub fn itamp7f(&self) -> ITAMP7F_R {
ITAMP7F_R::new(((self.bits >> 22) & 1) != 0)
}
#[inline(always)]
pub fn itamp8f(&self) -> ITAMP8F_R {
ITAMP8F_R::new(((self.bits >> 23) & 1) != 0)
}
#[inline(always)]
pub fn itamp9f(&self) -> ITAMP9F_R {
ITAMP9F_R::new(((self.bits >> 24) & 1) != 0)
}
#[inline(always)]
pub fn itamp11f(&self) -> ITAMP11F_R {
ITAMP11F_R::new(((self.bits >> 26) & 1) != 0)
}
#[inline(always)]
pub fn itamp12f(&self) -> ITAMP12F_R {
ITAMP12F_R::new(((self.bits >> 27) & 1) != 0)
}
#[inline(always)]
pub fn itamp13f(&self) -> ITAMP13F_R {
ITAMP13F_R::new(((self.bits >> 28) & 1) != 0)
}
#[inline(always)]
pub fn itamp15f(&self) -> ITAMP15F_R {
ITAMP15F_R::new(((self.bits >> 30) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("SR")
.field("tamp1f", &self.tamp1f())
.field("tamp2f", &self.tamp2f())
.field("itamp1f", &self.itamp1f())
.field("itamp2f", &self.itamp2f())
.field("itamp3f", &self.itamp3f())
.field("itamp4f", &self.itamp4f())
.field("itamp5f", &self.itamp5f())
.field("itamp6f", &self.itamp6f())
.field("itamp7f", &self.itamp7f())
.field("itamp8f", &self.itamp8f())
.field("itamp9f", &self.itamp9f())
.field("itamp11f", &self.itamp11f())
.field("itamp12f", &self.itamp12f())
.field("itamp13f", &self.itamp13f())
.field("itamp15f", &self.itamp15f())
.finish()
}
}
impl W {
#[inline(always)]
pub fn itamp15f(&mut self) -> ITAMP15F_W<SRrs> {
ITAMP15F_W::new(self, 30)
}
}
pub struct SRrs;
impl crate::RegisterSpec for SRrs {
type Ux = u32;
}
impl crate::Readable for SRrs {}
impl crate::Writable for SRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for SRrs {}