rp2040_pac/i2c0/
ic_comp_version.rs
1#[doc = "Register `IC_COMP_VERSION` reader"]
2pub type R = crate::R<IC_COMP_VERSION_SPEC>;
3#[doc = "Field `IC_COMP_VERSION` reader - "]
4pub type IC_COMP_VERSION_R = crate::FieldReader<u32>;
5impl R {
6 #[doc = "Bits 0:31"]
7 #[inline(always)]
8 pub fn ic_comp_version(&self) -> IC_COMP_VERSION_R {
9 IC_COMP_VERSION_R::new(self.bits)
10 }
11}
12#[doc = "I2C Component Version Register
13
14You can [`read`](crate::generic::Reg::read) this register and get [`ic_comp_version::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
15pub struct IC_COMP_VERSION_SPEC;
16impl crate::RegisterSpec for IC_COMP_VERSION_SPEC {
17 type Ux = u32;
18}
19#[doc = "`read()` method returns [`ic_comp_version::R`](R) reader structure"]
20impl crate::Readable for IC_COMP_VERSION_SPEC {}
21#[doc = "`reset()` method sets IC_COMP_VERSION to value 0x3230_312a"]
22impl crate::Resettable for IC_COMP_VERSION_SPEC {
23 const RESET_VALUE: u32 = 0x3230_312a;
24}