efm32pg22-pac 0.1.2

Peripheral access API for EFM32PG22 MCU (generated using svd2rust)
Documentation
#[doc = "Register `CC0_ICVALUE` reader"]
pub struct R(crate::R<CC0_ICVALUE_SPEC>);
impl core::ops::Deref for R {
    type Target = crate::R<CC0_ICVALUE_SPEC>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl From<crate::R<CC0_ICVALUE_SPEC>> for R {
    #[inline(always)]
    fn from(reader: crate::R<CC0_ICVALUE_SPEC>) -> Self {
        R(reader)
    }
}
#[doc = "Field `IC` reader - Input Capture Value"]
pub type IC_R = crate::FieldReader<u32, u32>;
impl R {
    #[doc = "Bits 0:31 - Input Capture Value"]
    #[inline(always)]
    pub fn ic(&self) -> IC_R {
        IC_R::new(self.bits)
    }
}
#[doc = "No Description\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [cc0_icvalue](index.html) module"]
pub struct CC0_ICVALUE_SPEC;
impl crate::RegisterSpec for CC0_ICVALUE_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [cc0_icvalue::R](R) reader structure"]
impl crate::Readable for CC0_ICVALUE_SPEC {
    type Reader = R;
}
#[doc = "`reset()` method sets CC0_ICVALUE to value 0"]
impl crate::Resettable for CC0_ICVALUE_SPEC {
    const RESET_VALUE: Self::Ux = 0;
}