#[doc = "Register `IN_DSCR_BF1_CH%s` reader"]
pub type R = crate::R<IN_DSCR_BF1_CH_SPEC>;
#[doc = "Field `INLINK_DSCR_BF1` reader - The address of the second-to-last inlink descriptor x-2."]
pub type INLINK_DSCR_BF1_R = crate::FieldReader<u32>;
impl R {
#[doc = "Bits 0:31 - The address of the second-to-last inlink descriptor x-2."]
#[inline(always)]
pub fn inlink_dscr_bf1(&self) -> INLINK_DSCR_BF1_R {
INLINK_DSCR_BF1_R::new(self.bits)
}
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("IN_DSCR_BF1_CH")
.field(
"inlink_dscr_bf1",
&format_args!("{}", self.inlink_dscr_bf1().bits()),
)
.finish()
}
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for crate::generic::Reg<IN_DSCR_BF1_CH_SPEC> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
core::fmt::Debug::fmt(&self.read(), f)
}
}
#[doc = "The second-to-last inlink descriptor address of Rx channel 0\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`in_dscr_bf1_ch::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct IN_DSCR_BF1_CH_SPEC;
impl crate::RegisterSpec for IN_DSCR_BF1_CH_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [`in_dscr_bf1_ch::R`](R) reader structure"]
impl crate::Readable for IN_DSCR_BF1_CH_SPEC {}
#[doc = "`reset()` method sets IN_DSCR_BF1_CH%s to value 0"]
impl crate::Resettable for IN_DSCR_BF1_CH_SPEC {
const RESET_VALUE: u32 = 0;
}