awr2544-pac 0.1.0

A Peripheral Access Crate for the ti awr2544 radar devkit
Documentation
#[doc = "Register `CRC_REGH2` reader"]
pub type R = crate::R<CrcRegh2Spec>;
#[doc = "Register `CRC_REGH2` writer"]
pub type W = crate::W<CrcRegh2Spec>;
#[doc = "Field `CRC2_63_32` reader - 31:0\\]
Channel 2 CRC Value High Register. This register contains the current known good signature value stored at CRC2\\[63:32\\]
regis- ter."]
pub type Crc2_63_32R = crate::FieldReader<u32>;
#[doc = "Field `CRC2_63_32` writer - 31:0\\]
Channel 2 CRC Value High Register. This register contains the current known good signature value stored at CRC2\\[63:32\\]
regis- ter."]
pub type Crc2_63_32W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
    #[doc = "Bits 0:31 - 31:0\\]
Channel 2 CRC Value High Register. This register contains the current known good signature value stored at CRC2\\[63:32\\]
regis- ter."]
    #[inline(always)]
    pub fn crc2_63_32(&self) -> Crc2_63_32R {
        Crc2_63_32R::new(self.bits)
    }
}
impl W {
    #[doc = "Bits 0:31 - 31:0\\]
Channel 2 CRC Value High Register. This register contains the current known good signature value stored at CRC2\\[63:32\\]
regis- ter."]
    #[inline(always)]
    #[must_use]
    pub fn crc2_63_32(&mut self) -> Crc2_63_32W<CrcRegh2Spec> {
        Crc2_63_32W::new(self, 0)
    }
}
#[doc = "Channel 2 CRC value high register\n\nYou can [`read`](crate::Reg::read) this register and get [`crc_regh2::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`crc_regh2::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct CrcRegh2Spec;
impl crate::RegisterSpec for CrcRegh2Spec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`crc_regh2::R`](R) reader structure"]
impl crate::Readable for CrcRegh2Spec {}
#[doc = "`write(|w| ..)` method takes [`crc_regh2::W`](W) writer structure"]
impl crate::Writable for CrcRegh2Spec {
    type Safety = crate::Unsafe;
    const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
    const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets CRC_REGH2 to value 0"]
impl crate::Resettable for CrcRegh2Spec {
    const RESET_VALUE: u32 = 0;
}