1#[doc = "Register `CV2` reader"]
2pub type R = crate::R<Cv2Spec>;
3#[doc = "Field `CV` reader - Counter Value"]
4pub type CvR = crate::FieldReader<u32>;
5impl R {
6 #[doc = "Bits 0:31 - Counter Value"]
7 #[inline(always)]
8 pub fn cv(&self) -> CvR {
9 CvR::new(self.bits)
10 }
11}
12#[doc = "Counter Value (channel = 2)\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`cv2::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct Cv2Spec;
14impl crate::RegisterSpec for Cv2Spec {
15 type Ux = u32;
16}
17#[doc = "`read()` method returns [`cv2::R`](R) reader structure"]
18impl crate::Readable for Cv2Spec {}
19#[doc = "`reset()` method sets CV2 to value 0"]
20impl crate::Resettable for Cv2Spec {
21 const RESET_VALUE: u32 = 0;
22}