rp2040_pac/timer/
timehr.rs

1#[doc = "Register `TIMEHR` reader"]
2pub type R = crate::R<TIMEHR_SPEC>;
3impl core::fmt::Debug for R {
4    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
5        write!(f, "{}", self.bits())
6    }
7}
8impl core::fmt::Debug for crate::generic::Reg<TIMEHR_SPEC> {
9    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
10        core::fmt::Debug::fmt(&self.read(), f)
11    }
12}
13#[doc = "Read from bits 63:32 of time  
14 always read timelr before timehr  
15
16You can [`read`](crate::generic::Reg::read) this register and get [`timehr::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
17pub struct TIMEHR_SPEC;
18impl crate::RegisterSpec for TIMEHR_SPEC {
19    type Ux = u32;
20}
21#[doc = "`read()` method returns [`timehr::R`](R) reader structure"]
22impl crate::Readable for TIMEHR_SPEC {}
23#[doc = "`reset()` method sets TIMEHR to value 0"]
24impl crate::Resettable for TIMEHR_SPEC {
25    const RESET_VALUE: u32 = 0;
26}