stm32f0/stm32f0x1/adc/
dr.rs1pub type R = crate::R<DRrs>;
3pub type DATA_R = crate::FieldReader<u16>;
5impl R {
6 #[inline(always)]
8 pub fn data(&self) -> DATA_R {
9 DATA_R::new((self.bits & 0xffff) as u16)
10 }
11}
12impl core::fmt::Debug for R {
13 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
14 f.debug_struct("DR").field("data", &self.data()).finish()
15 }
16}
17pub struct DRrs;
23impl crate::RegisterSpec for DRrs {
24 type Ux = u32;
25}
26impl crate::Readable for DRrs {}
28impl crate::Resettable for DRrs {}