pub type R = crate::R<TXEFSrs>;
pub type EFFL_R = crate::FieldReader;
pub type EFGI_R = crate::FieldReader;
pub type EFPI_R = crate::FieldReader;
pub type EFF_R = crate::BitReader;
pub type TEFL_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn effl(&self) -> EFFL_R {
EFFL_R::new((self.bits & 7) as u8)
}
#[inline(always)]
pub fn efgi(&self) -> EFGI_R {
EFGI_R::new(((self.bits >> 8) & 3) as u8)
}
#[inline(always)]
pub fn efpi(&self) -> EFPI_R {
EFPI_R::new(((self.bits >> 16) & 3) as u8)
}
#[inline(always)]
pub fn eff(&self) -> EFF_R {
EFF_R::new(((self.bits >> 24) & 1) != 0)
}
#[inline(always)]
pub fn tefl(&self) -> TEFL_R {
TEFL_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("TXEFS")
.field("effl", &self.effl())
.field("efgi", &self.efgi())
.field("efpi", &self.efpi())
.field("eff", &self.eff())
.field("tefl", &self.tefl())
.finish()
}
}
pub struct TXEFSrs;
impl crate::RegisterSpec for TXEFSrs {
type Ux = u32;
}
impl crate::Readable for TXEFSrs {}
impl crate::Resettable for TXEFSrs {}