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