1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
#[doc = "Reader of register PP"] pub type R = crate::R<u32, super::PP>; #[doc = "Reader of field `SC`"] pub type SC_R = crate::R<bool, bool>; #[doc = "Reader of field `NB`"] pub type NB_R = crate::R<bool, bool>; #[doc = "Reader of field `MS`"] pub type MS_R = crate::R<bool, bool>; #[doc = "Reader of field `MSE`"] pub type MSE_R = crate::R<bool, bool>; impl R { #[doc = "Bit 0 - Smart Card Support"] #[inline(always)] pub fn sc(&self) -> SC_R { SC_R::new((self.bits & 0x01) != 0) } #[doc = "Bit 1 - 9-Bit Support"] #[inline(always)] pub fn nb(&self) -> NB_R { NB_R::new(((self.bits >> 1) & 0x01) != 0) } #[doc = "Bit 2 - Modem Support"] #[inline(always)] pub fn ms(&self) -> MS_R { MS_R::new(((self.bits >> 2) & 0x01) != 0) } #[doc = "Bit 3 - Modem Support Extended"] #[inline(always)] pub fn mse(&self) -> MSE_R { MSE_R::new(((self.bits >> 3) & 0x01) != 0) } }