pub type R = crate::R<MTLTX_QURrs>;
pub type UFFRMCNT_R = crate::FieldReader<u16>;
pub type UFCNTOVF_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn uffrmcnt(&self) -> UFFRMCNT_R {
UFFRMCNT_R::new((self.bits & 0x07ff) as u16)
}
#[inline(always)]
pub fn ufcntovf(&self) -> UFCNTOVF_R {
UFCNTOVF_R::new(((self.bits >> 11) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("MTLTxQUR")
.field("uffrmcnt", &self.uffrmcnt())
.field("ufcntovf", &self.ufcntovf())
.finish()
}
}
pub struct MTLTX_QURrs;
impl crate::RegisterSpec for MTLTX_QURrs {
type Ux = u32;
}
impl crate::Readable for MTLTX_QURrs {}
impl crate::Resettable for MTLTX_QURrs {}