1#[doc = "Register `DURATION%s` reader"]
2pub type R = crate::R<DURATION_SPEC>;
3#[doc = "Register `DURATION%s` writer"]
4pub type W = crate::W<DURATION_SPEC>;
5#[cfg(feature = "impl-register-debug")]
6impl core::fmt::Debug for R {
7 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
8 write!(f, "{}", self.bits())
9 }
10}
11impl W {}
12#[doc = "duration of the frame exchange\n\nYou can [`read`](crate::Reg::read) this register and get [`duration::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`duration::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct DURATION_SPEC;
14impl crate::RegisterSpec for DURATION_SPEC {
15 type Ux = u32;
16}
17#[doc = "`read()` method returns [`duration::R`](R) reader structure"]
18impl crate::Readable for DURATION_SPEC {}
19#[doc = "`write(|w| ..)` method takes [`duration::W`](W) writer structure"]
20impl crate::Writable for DURATION_SPEC {
21 type Safety = crate::Unsafe;
22}
23#[doc = "`reset()` method sets DURATION%s to value 0"]
24impl crate::Resettable for DURATION_SPEC {}