1#[doc = "Register `TDFAR` reader"]
2pub struct R(crate::R<TDFAR_SPEC>);
3impl core::ops::Deref for R {
4 type Target = crate::R<TDFAR_SPEC>;
5 #[inline(always)]
6 fn deref(&self) -> &Self::Target {
7 &self.0
8 }
9}
10impl From<crate::R<TDFAR_SPEC>> for R {
11 #[inline(always)]
12 fn from(reader: crate::R<TDFAR_SPEC>) -> Self {
13 R(reader)
14 }
15}
16#[doc = "Field `TDFAR` reader - Transmit Descriptor Fetch Address RegisterThe TDFAR register indicates the start address of the last fetched transmit descriptor when the EDMAC fetches descriptor information from the transmit descriptor.Refer to the address indicated by the TDFAR register to recognize which transmit descriptor information the EDMAC is using for the current processing. Note that the address of the transmit descriptor that the EDMAC fetches may not match the read value of the TDFAR register."]
17pub type TDFAR_R = crate::FieldReader<u32, u32>;
18impl R {
19 #[doc = "Bits 0:31 - Transmit Descriptor Fetch Address RegisterThe TDFAR register indicates the start address of the last fetched transmit descriptor when the EDMAC fetches descriptor information from the transmit descriptor.Refer to the address indicated by the TDFAR register to recognize which transmit descriptor information the EDMAC is using for the current processing. Note that the address of the transmit descriptor that the EDMAC fetches may not match the read value of the TDFAR register."]
20 #[inline(always)]
21 pub fn tdfar(&self) -> TDFAR_R {
22 TDFAR_R::new(self.bits)
23 }
24}
25#[doc = "Transmit Descriptor Fetch Address Register\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [tdfar](index.html) module"]
26pub struct TDFAR_SPEC;
27impl crate::RegisterSpec for TDFAR_SPEC {
28 type Ux = u32;
29}
30#[doc = "`read()` method returns [tdfar::R](R) reader structure"]
31impl crate::Readable for TDFAR_SPEC {
32 type Reader = R;
33}
34#[doc = "`reset()` method sets TDFAR to value 0"]
35impl crate::Resettable for TDFAR_SPEC {
36 const RESET_VALUE: Self::Ux = 0;
37}