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