pub type R = crate::R<TXFQSrs>;
pub type TFFL_R = crate::FieldReader;
pub type TFGI_R = crate::FieldReader;
pub type TFQPI_R = crate::FieldReader;
pub type TFQF_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn tffl(&self) -> TFFL_R {
TFFL_R::new((self.bits & 7) as u8)
}
#[inline(always)]
pub fn tfgi(&self) -> TFGI_R {
TFGI_R::new(((self.bits >> 8) & 3) as u8)
}
#[inline(always)]
pub fn tfqpi(&self) -> TFQPI_R {
TFQPI_R::new(((self.bits >> 16) & 3) as u8)
}
#[inline(always)]
pub fn tfqf(&self) -> TFQF_R {
TFQF_R::new(((self.bits >> 21) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("TXFQS")
.field("tffl", &self.tffl())
.field("tfgi", &self.tfgi())
.field("tfqpi", &self.tfqpi())
.field("tfqf", &self.tfqf())
.finish()
}
}
pub struct TXFQSrs;
impl crate::RegisterSpec for TXFQSrs {
type Ux = u32;
}
impl crate::Readable for TXFQSrs {}
impl crate::Resettable for TXFQSrs {
const RESET_VALUE: u32 = 0x03;
}