stm32f1_staging/stm32f101/spi1/
txcrcr.rs1pub type R = crate::R<TXCRCRrs>;
3pub type TX_CRC_R = crate::FieldReader<u16>;
5impl R {
6 #[inline(always)]
8 pub fn tx_crc(&self) -> TX_CRC_R {
9 TX_CRC_R::new(self.bits)
10 }
11}
12impl core::fmt::Debug for R {
13 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
14 f.debug_struct("TXCRCR").field("tx_crc", &self.tx_crc()).finish()
15 }
16}
17pub struct TXCRCRrs;
23impl crate::RegisterSpec for TXCRCRrs {
24 type Ux = u16;
25}
26impl crate::Readable for TXCRCRrs {}
28impl crate::Resettable for TXCRCRrs {}