#[doc = "Register `TXCRCR` reader"]
pub type R = crate::R<TxcrcrSpec>;
#[doc = "Field `TxCRC` reader - Tx CRC register"]
pub type TxCrcR = crate::FieldReader<u16>;
impl R {
#[doc = "Bits 0:15 - Tx CRC register"]
#[inline(always)]
pub fn tx_crc(&self) -> TxCrcR {
TxCrcR::new((self.bits & 0xffff) as u16)
}
}
#[doc = "TX CRC register\n\nYou can [`read`](crate::Reg::read) this register and get [`txcrcr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct TxcrcrSpec;
impl crate::RegisterSpec for TxcrcrSpec {
type Ux = u32;
}
#[doc = "`read()` method returns [`txcrcr::R`](R) reader structure"]
impl crate::Readable for TxcrcrSpec {}
#[doc = "`reset()` method sets TXCRCR to value 0"]
impl crate::Resettable for TxcrcrSpec {}