xmc4300/ecat0/
receive_time_pu.rs1#[doc = "Register `RECEIVE_TIME_PU[%s]` reader"]
2pub type R = crate::R<RECEIVE_TIME_PU_SPEC>;
3#[doc = "Field `RECEIVE_TIME_PU` reader - Local time of the beginning of a frame"]
4pub type RECEIVE_TIME_PU_R = crate::FieldReader<u32>;
5impl R {
6 #[doc = "Bits 0:31 - Local time of the beginning of a frame"]
7 #[inline(always)]
8 pub fn receive_time_pu(&self) -> RECEIVE_TIME_PU_R {
9 RECEIVE_TIME_PU_R::new(self.bits)
10 }
11}
12#[doc = "Local time of the beginning of a frame\n\nYou can [`read`](crate::Reg::read) this register and get [`receive_time_pu::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct RECEIVE_TIME_PU_SPEC;
14impl crate::RegisterSpec for RECEIVE_TIME_PU_SPEC {
15 type Ux = u32;
16}
17#[doc = "`read()` method returns [`receive_time_pu::R`](R) reader structure"]
18impl crate::Readable for RECEIVE_TIME_PU_SPEC {}
19#[doc = "`reset()` method sets RECEIVE_TIME_PU[%s]
20to value 0"]
21impl crate::Resettable for RECEIVE_TIME_PU_SPEC {
22 const RESET_VALUE: u32 = 0;
23}