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