stm32f4_staging/stm32f413/fmpi2c1/
rxdr.rs1pub type R = crate::R<RXDRrs>;
3pub type RXDATA_R = crate::FieldReader;
5impl R {
6 #[inline(always)]
8 pub fn rxdata(&self) -> RXDATA_R {
9 RXDATA_R::new((self.bits & 0xff) as u8)
10 }
11}
12impl core::fmt::Debug for R {
13 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
14 f.debug_struct("RXDR")
15 .field("rxdata", &self.rxdata())
16 .finish()
17 }
18}
19pub struct RXDRrs;
25impl crate::RegisterSpec for RXDRrs {
26 type Ux = u32;
27}
28impl crate::Readable for RXDRrs {}
30impl crate::Resettable for RXDRrs {}