#[doc = "Register `PR` reader"]
pub type R = crate::R<PR_SPEC>;
#[doc = "Field `PR` reader - Period Register"]
pub type PR_R = crate::FieldReader<u16>;
impl R {
#[doc = "Bits 0:15 - Period Register"]
#[inline(always)]
pub fn pr(&self) -> PR_R {
PR_R::new((self.bits & 0xffff) as u16)
}
}
#[doc = "Timer Period Value\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct PR_SPEC;
impl crate::RegisterSpec for PR_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [`pr::R`](R) reader structure"]
impl crate::Readable for PR_SPEC {}
#[doc = "`reset()` method sets PR to value 0"]
impl crate::Resettable for PR_SPEC {
const RESET_VALUE: u32 = 0;
}