1#[doc = "Register `IMR` reader"]
2pub type R = crate::R<ImrSpec>;
3#[doc = "Field `ERRIMR` reader - CRC Error Interrupt Mask"]
4pub type ErrimrR = crate::BitReader;
5impl R {
6 #[doc = "Bit 0 - CRC Error Interrupt Mask"]
7 #[inline(always)]
8 pub fn errimr(&self) -> ErrimrR {
9 ErrimrR::new((self.bits & 1) != 0)
10 }
11}
12#[doc = "CRCCU Interrupt Mask Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`imr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct ImrSpec;
14impl crate::RegisterSpec for ImrSpec {
15 type Ux = u32;
16}
17#[doc = "`read()` method returns [`imr::R`](R) reader structure"]
18impl crate::Readable for ImrSpec {}
19#[doc = "`reset()` method sets IMR to value 0"]
20impl crate::Resettable for ImrSpec {
21 const RESET_VALUE: u32 = 0;
22}