1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#[doc = "Register `OUT_DSCR_CH%s` reader"]
pub struct R(crate::R<OUT_DSCR_CH_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<OUT_DSCR_CH_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<OUT_DSCR_CH_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<OUT_DSCR_CH_SPEC>) -> Self {
R(reader)
}
}
#[doc = "Field `OUTLINK_DSCR` reader - The address of the current outlink descriptor y."]
pub type OUTLINK_DSCR_R = crate::FieldReader<u32, u32>;
impl R {
#[doc = "Bits 0:31 - The address of the current outlink descriptor y."]
#[inline(always)]
pub fn outlink_dscr(&self) -> OUTLINK_DSCR_R {
OUTLINK_DSCR_R::new(self.bits)
}
}
#[doc = "Current inlink descriptor address of Tx channel 0\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 [out_dscr_ch](index.html) module"]
pub struct OUT_DSCR_CH_SPEC;
impl crate::RegisterSpec for OUT_DSCR_CH_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [out_dscr_ch::R](R) reader structure"]
impl crate::Readable for OUT_DSCR_CH_SPEC {
type Reader = R;
}
#[doc = "`reset()` method sets OUT_DSCR_CH%s to value 0"]
impl crate::Resettable for OUT_DSCR_CH_SPEC {
const RESET_VALUE: Self::Ux = 0;
}