stm32wb_pac/usart1/
rdr.rs

1#[doc = "Reader of register RDR"]
2pub type R = crate::R<u32, super::RDR>;
3#[doc = "Reader of field `RDR`"]
4pub type RDR_R = crate::R<u16, u16>;
5impl R {
6    #[doc = "Bits 0:8 - Receive data value"]
7    #[inline(always)]
8    pub fn rdr(&self) -> RDR_R {
9        RDR_R::new((self.bits & 0x01ff) as u16)
10    }
11}