pub type R = crate::R<FIFOR0rs>;
pub type W = crate::W<FIFOR0rs>;
pub type FIFODATA_R = crate::FieldReader<u32>;
pub type FIFODATA_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
#[inline(always)]
pub fn fifodata(&self) -> FIFODATA_R {
FIFODATA_R::new(self.bits)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("FIFOR0")
.field("fifodata", &self.fifodata())
.finish()
}
}
impl W {
#[inline(always)]
pub fn fifodata(&mut self) -> FIFODATA_W<FIFOR0rs> {
FIFODATA_W::new(self, 0)
}
}
pub struct FIFOR0rs;
impl crate::RegisterSpec for FIFOR0rs {
type Ux = u32;
}
impl crate::Readable for FIFOR0rs {}
impl crate::Writable for FIFOR0rs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for FIFOR0rs {}