pub type R = crate::R<RXF1Srs>;
pub type F1FL_R = crate::FieldReader;
pub type F1GI_R = crate::FieldReader;
pub type F1PI_R = crate::FieldReader;
pub type F1F_R = crate::BitReader;
pub type RF1L_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn f1fl(&self) -> F1FL_R {
F1FL_R::new((self.bits & 0x0f) as u8)
}
#[inline(always)]
pub fn f1gi(&self) -> F1GI_R {
F1GI_R::new(((self.bits >> 8) & 3) as u8)
}
#[inline(always)]
pub fn f1pi(&self) -> F1PI_R {
F1PI_R::new(((self.bits >> 16) & 3) as u8)
}
#[inline(always)]
pub fn f1f(&self) -> F1F_R {
F1F_R::new(((self.bits >> 24) & 1) != 0)
}
#[inline(always)]
pub fn rf1l(&self) -> RF1L_R {
RF1L_R::new(((self.bits >> 25) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("RXF1S")
.field("f1fl", &self.f1fl())
.field("f1gi", &self.f1gi())
.field("f1pi", &self.f1pi())
.field("f1f", &self.f1f())
.field("rf1l", &self.rf1l())
.finish()
}
}
pub struct RXF1Srs;
impl crate::RegisterSpec for RXF1Srs {
type Ux = u32;
}
impl crate::Readable for RXF1Srs {}
impl crate::Resettable for RXF1Srs {}