pub type R = crate::R<JDATARrs>;
pub type JDATACH_R = crate::FieldReader;
pub type JDATA_R = crate::FieldReader<u32>;
impl R {
#[inline(always)]
pub fn jdatach(&self) -> JDATACH_R {
JDATACH_R::new((self.bits & 7) as u8)
}
#[inline(always)]
pub fn jdata(&self) -> JDATA_R {
JDATA_R::new((self.bits >> 8) & 0x00ff_ffff)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("JDATAR")
.field("jdatach", &self.jdatach())
.field("jdata", &self.jdata())
.finish()
}
}
pub struct JDATARrs;
impl crate::RegisterSpec for JDATARrs {
type Ux = u32;
}
impl crate::Readable for JDATARrs {}
impl crate::Resettable for JDATARrs {}