pub type R = crate::R<GRXFSIZrs>;
pub type W = crate::W<GRXFSIZrs>;
pub type RXFD_R = crate::FieldReader<u16>;
pub type RXFD_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16>;
impl R {
#[inline(always)]
pub fn rxfd(&self) -> RXFD_R {
RXFD_R::new((self.bits & 0xffff) as u16)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("GRXFSIZ")
.field("rxfd", &self.rxfd())
.finish()
}
}
impl W {
#[inline(always)]
pub fn rxfd(&mut self) -> RXFD_W<GRXFSIZrs> {
RXFD_W::new(self, 0)
}
}
pub struct GRXFSIZrs;
impl crate::RegisterSpec for GRXFSIZrs {
type Ux = u32;
}
impl crate::Readable for GRXFSIZrs {}
impl crate::Writable for GRXFSIZrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for GRXFSIZrs {
const RESET_VALUE: u32 = 0x0200;
}