stm32f1_staging/stm32f102/adc1/
dr.rspub type R = crate::R<DRrs>;
pub type DATA_R = crate::FieldReader<u16>;
impl R {
#[inline(always)]
pub fn data(&self) -> DATA_R {
DATA_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("DR").field("data", &self.data()).finish()
}
}
pub struct DRrs;
impl crate::RegisterSpec for DRrs {
type Ux = u32;
}
impl crate::Readable for DRrs {}
impl crate::Resettable for DRrs {
const RESET_VALUE: u32 = 0;
}