pub type R = crate::R<LCRrs>;
pub type LNBR_R = crate::FieldReader;
impl R {
#[inline(always)]
pub fn lnbr(&self) -> LNBR_R {
LNBR_R::new((self.bits & 0xff) as u8)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("LCR").field("lnbr", &self.lnbr()).finish()
}
}
pub struct LCRrs;
impl crate::RegisterSpec for LCRrs {
type Ux = u32;
}
impl crate::Readable for LCRrs {}
impl crate::Resettable for LCRrs {
const RESET_VALUE: u32 = 0x02;
}