stm32wb_pac/spi1/rxcrcr.rs
1#[doc = "Reader of register RXCRCR"]
2pub type R = crate::R<u32, super::RXCRCR>;
3#[doc = "Reader of field `RxCRC`"]
4pub type RXCRC_R = crate::R<u16, u16>;
5impl R {
6 #[doc = "Bits 0:15 - Rx CRC register"]
7 #[inline(always)]
8 pub fn rx_crc(&self) -> RXCRC_R {
9 RXCRC_R::new((self.bits & 0xffff) as u16)
10 }
11}