xmc4800/sdmmc/
response6.rs1#[doc = "Register `RESPONSE6` reader"]
2pub type R = crate::R<RESPONSE6_SPEC>;
3#[doc = "Field `RESPONSE6` reader - Response6"]
4pub type RESPONSE6_R = crate::FieldReader<u16>;
5#[doc = "Field `RESPONSE7` reader - Response7"]
6pub type RESPONSE7_R = crate::FieldReader<u16>;
7impl R {
8 #[doc = "Bits 0:15 - Response6"]
9 #[inline(always)]
10 pub fn response6(&self) -> RESPONSE6_R {
11 RESPONSE6_R::new((self.bits & 0xffff) as u16)
12 }
13 #[doc = "Bits 16:31 - Response7"]
14 #[inline(always)]
15 pub fn response7(&self) -> RESPONSE7_R {
16 RESPONSE7_R::new(((self.bits >> 16) & 0xffff) as u16)
17 }
18}
19#[doc = "Response 6 Register\n\nYou can [`read`](crate::Reg::read) this register and get [`response6::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
20pub struct RESPONSE6_SPEC;
21impl crate::RegisterSpec for RESPONSE6_SPEC {
22 type Ux = u32;
23}
24#[doc = "`read()` method returns [`response6::R`](R) reader structure"]
25impl crate::Readable for RESPONSE6_SPEC {}
26#[doc = "`reset()` method sets RESPONSE6 to value 0"]
27impl crate::Resettable for RESPONSE6_SPEC {
28 const RESET_VALUE: u32 = 0;
29}