#[doc = "Register `INTENSET` reader"] pub type R = crate::R; #[doc = "Register `INTENSET` writer"] pub type W = crate::W; #[doc = "Field `CKRDY` reader - Clock Ready Interrupt Enable"] pub type CkrdyR = crate::BitReader; #[doc = "Field `CKRDY` writer - Clock Ready Interrupt Enable"] pub type CkrdyW<'a, REG> = crate::BitWriter<'a, REG>; impl R { #[doc = "Bit 0 - Clock Ready Interrupt Enable"] #[inline(always)] pub fn ckrdy(&self) -> CkrdyR { CkrdyR::new((self.bits & 1) != 0) } } impl W { #[doc = "Bit 0 - Clock Ready Interrupt Enable"] #[inline(always)] #[must_use] pub fn ckrdy(&mut self) -> CkrdyW { CkrdyW::new(self, 0) } } #[doc = "Interrupt Enable Set\n\nYou can [`read`](crate::Reg::read) this register and get [`intenset::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`intenset::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] pub struct IntensetSpec; impl crate::RegisterSpec for IntensetSpec { type Ux = u8; } #[doc = "`read()` method returns [`intenset::R`](R) reader structure"] impl crate::Readable for IntensetSpec {} #[doc = "`write(|w| ..)` method takes [`intenset::W`](W) writer structure"] impl crate::Writable for IntensetSpec { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u8 = 0; const ONE_TO_MODIFY_FIELDS_BITMAP: u8 = 0; } #[doc = "`reset()` method sets INTENSET to value 0"] impl crate::Resettable for IntensetSpec { const RESET_VALUE: u8 = 0; }