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