1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#[doc = "Reader of register PTPTSLR"] pub type R = crate::R<u32, super::PTPTSLR>; #[doc = "Reader of field `STSS`"] pub type STSS_R = crate::R<u32, u32>; #[doc = "Reader of field `STPNS`"] pub type STPNS_R = crate::R<bool, bool>; impl R { #[doc = "Bits 0:30 - STSS"] #[inline(always)] pub fn stss(&self) -> STSS_R { STSS_R::new((self.bits & 0x7fff_ffff) as u32) } #[doc = "Bit 31 - STPNS"] #[inline(always)] pub fn stpns(&self) -> STPNS_R { STPNS_R::new(((self.bits >> 31) & 0x01) != 0) } }