cyt4dn_b 0.0.1

Peripheral access crate for cyt4dn_b T2G family
Documentation
#[doc = "Register `ACT_DESCR_DST` reader"]
pub struct R(crate::R<ACT_DESCR_DST_SPEC>);
impl core::ops::Deref for R {
    type Target = crate::R<ACT_DESCR_DST_SPEC>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl From<crate::R<ACT_DESCR_DST_SPEC>> for R {
    #[inline(always)]
    fn from(reader: crate::R<ACT_DESCR_DST_SPEC>) -> Self {
        R(reader)
    }
}
#[doc = "Field `DATA` reader - Copy of DESCR_DST of the currently active descriptor. Base address of destination location. Note: For a CRC transfer descriptor, this field should be programmed with the address of the CRC_LFSR_CTL register. The calculated CRC LFSR state is written to this address (through the CRYPTO AHB-Lite master interface) when the input trigger is processed. The write transfer will be submitted to the CPUSS and PERI protection schemes."]
pub type DATA_R = crate::FieldReader<u32, u32>;
impl R {
    #[doc = "Bits 0:31 - Copy of DESCR_DST of the currently active descriptor. Base address of destination location. Note: For a CRC transfer descriptor, this field should be programmed with the address of the CRC_LFSR_CTL register. The calculated CRC LFSR state is written to this address (through the CRYPTO AHB-Lite master interface) when the input trigger is processed. The write transfer will be submitted to the CPUSS and PERI protection schemes."]
    #[inline(always)]
    pub fn data(&self) -> DATA_R {
        DATA_R::new(self.bits)
    }
}
#[doc = "Active descriptor destination\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 [act_descr_dst](index.html) module"]
pub struct ACT_DESCR_DST_SPEC;
impl crate::RegisterSpec for ACT_DESCR_DST_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [act_descr_dst::R](R) reader structure"]
impl crate::Readable for ACT_DESCR_DST_SPEC {
    type Reader = R;
}
#[doc = "`reset()` method sets ACT_DESCR_DST to value 0"]
impl crate::Resettable for ACT_DESCR_DST_SPEC {
    const RESET_VALUE: Self::Ux = 0;
}